Pervasive Displays Library Suite - Reference Manual 9.0.3
Library for Pervasive Displays e-paper screens, extension boards and development kits
|
Example of features for Evaluation and Commercial editions. More...
#include "PDLS_Common.h"
#include "hV_Utilities.h"
#include "TicTacToe.h"
#include "Pervasive_Touch_Small.h"
#include "PDLS_Advanced.h"
#include "hV_GUI.h"
Functions | |
void | initialiseScreen () |
Initialise screen. | |
void | drawStartScreen () |
Draw start screen. | |
void | drawGameScreen () |
Draw empty board. | |
void | drawGameOverScreen () |
Draw end of game. | |
void | playGame () |
Play the game. | |
void | drawMovePlayer (coordinates_s coordinates, uint8_t player) |
Display the move of a player. | |
coordinates_s | moveHuman () |
Let the human play. | |
void | setup () |
Setup. | |
Example of features for Evaluation and Commercial editions.
Library for Pervasive Displays EXT3 - Evaluation and Commercial editions
void drawGameOverScreen | ( | ) |
Draw end of game.
Display winner
void drawMovePlayer | ( | coordinates_s | coordinates, |
uint8_t | player ) |
Display the move of a player.
coordinates | move coordinates |
player | PLAYER_MCU or PLAYER_HUMAN |
void drawStartScreen | ( | ) |
Draw start screen.
Splash screen
void initialiseScreen | ( | ) |
Initialise screen.
Screen, fonts, elements
void moveHuman | ( | ) |
Let the human play.
Get valid touch input, generate coordinates
void playGame | ( | ) |
Play the game.
Main loop