Thanks
One of these posts says that it's P0 for D0
And the other post says that it's P1 for D0
I'm wondering which pad on the DigiSpark is for D0That's because the code he gave you is for the ATTINY85 not the ATTINY85 on a Digispark.
The program has to be adapted to match the pins on the board. Here is a diagram:
The numbers are the literal pin numbers but you can use the PBn numbers. Use PB1 in instead of D0 and PB2 instead of A1. Connect to the corresponding pins, they are marked on the bottom of the board.
One of these posts says that it's P0 for D0
And the other post says that it's P1 for D0
