Firmware

The application code for the demo is generated with Atmel START. Configuration of TWI, UART, and PTC peripherals, and Microchip Touch Library is done through Atmel START. The snake game algorithm and LED matrix driver application code are integrated into the firmware. The flow of the snake game demo application code is depicted in Figure 1.

Figure 1. Application Flow Diagram