Sketch to detect Atmega chip types