This Arduino sketch is useful for rescuing ATtiny microcontrollers rendered useless by incorrect fuse settings. It does this by putting the bricked tiny into high-voltage serial programming mode and writingthe fuses to safe values. The Arduino is connected to the tiny though 1k resistors and a 2N3904 transistor is used to switch 12 volts applied t
o the tiny`s reset pin. After uploading the sketch the Arduino sends Enter a character to continue. repeatedly untilcommunications are established by sending a byte through the serial monitor. The Arduino then programs the fuses.