solution-2.1 Prints information to serial port back to PC. Shows rising and falling edges and button states.