(yellow) is a light sensor (either a CCD or CMOS sensor); 16 (green) is the main circuit board; 20 (brown) is a digital display; 18 (purple) are buttons for switching the pen on and off or controlling simple men