Patterns of 1's and 0's are sent from the microchip to the lights, telling them which ones should turn on. Those that turn on are the ones that create the smiley face.