Code for the ATtiny85 and for programming via the Raspberry Pi