Fixed to work with ATmega328 micro
Added support for ATmega32U4 (leo)