We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged


You can just normally use all pins except for the reset pin (pin 0). When you want to program the Attiny, you just connect the programmer. It will reset the Attiny through the reset pin and put it into ISP programming mode. At that point your code hasn't run. Note: If you want to program the Attiny while it still sits in its circuit, you have to be careful, ...


The ATTiny chips commonly used in Arduino-like boards, such as the Adafruit Trinket or the Digispark USB will usually have a bootloader which runs before your own code. The bootloader checks for a certain state on the USB port of the board, to see if something is waiting to write a new program to the chip. The bootloader accepts new code from the host ...

Only top voted, non community-wiki answers of a minimum length are eligible