Overview:
This application demonstrates the use of the OLED1 Xplained Pro extension board for the SAM Xplained Pro with a tic-tac-toe game.
The game is controlled with the three mechanical buttons on the OLED1 Xplained Pro. The goal is to get three circles in a horizontal, diagonal or vertical row, before the opponent (SAM devices) gets three crosses in a row.
This application has been tested on following boards:
The OLED1 Xplained Pro extension board must be connected to extension header 3 on the SAM D20/D21/L21/L22 Xplained Pro, and extension header 1 on the SAM R21/R30 Xplained Pro. To use another extension header, edit the configuration in:
This software was written for the GNU GCC and IAR for ARM. Other compilers may or may not work.
For further information, visit http://www.microchip.com.