Code for Arduino Pro Micro and Android app