added working code for arduino Micro (leonardo)