fixing example to work on ATtiny