Porting to 32u4 microcontroller