This is a demonstration program which draws a keypad on the LCD and uses the touch screen to allow an operator to key-in an access code. Two possible codes are allowed to grant to different levels of access. Additionally the push button is used to allow an operator to send Moorse Code pulses in to the device which is checked against two characters to determine if there was a match, and if so, access is granted.

Dependencies:   LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI mbed-os BSP_DISCO_F429ZI

Also draws a mushroom on the screen and animates it.

Committer:
Damotclese
Date:
Wed Jun 05 02:27:51 2019 +0000
Revision:
5:5c507689ae66
Parent:
1:316582aec4fb
I put a pizza BMP on the screen;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Damotclese 0:04d4cc695e56 1
Damotclese 0:04d4cc695e56 2 // ----------------------------------------------------------------------
Damotclese 0:04d4cc695e56 3 // SecurityUnlockDemo-Main.h
Damotclese 0:04d4cc695e56 4 //
Damotclese 1:316582aec4fb 5 // Fredric L. Rice, June 2019
Damotclese 0:04d4cc695e56 6 //
Damotclese 0:04d4cc695e56 7 // ----------------------------------------------------------------------
Damotclese 0:04d4cc695e56 8
Damotclese 0:04d4cc695e56 9 #ifndef _SECURITYUNLOCKDEMOMAIN_H_
Damotclese 0:04d4cc695e56 10 #define _SECURITYUNLOCKDEMOMAIN_H_ 1
Damotclese 0:04d4cc695e56 11
Damotclese 1:316582aec4fb 12 // ----------------------------------------------------------------------
Damotclese 1:316582aec4fb 13 // Defined constants that we might use here
Damotclese 1:316582aec4fb 14 //
Damotclese 1:316582aec4fb 15 // ----------------------------------------------------------------------
Damotclese 1:316582aec4fb 16
Damotclese 1:316582aec4fb 17 // For some purposes we may want to know the dimentions of the screen
Damotclese 1:316582aec4fb 18 #define LCD_WIDTH 240
Damotclese 1:316582aec4fb 19 #define LCD_HEIGHT 320
Damotclese 1:316582aec4fb 20
Damotclese 1:316582aec4fb 21 // ----------------------------------------------------------------------
Damotclese 1:316582aec4fb 22 // Function prototypes that we will export
Damotclese 1:316582aec4fb 23 //
Damotclese 1:316582aec4fb 24 // ----------------------------------------------------------------------
Damotclese 1:316582aec4fb 25
Damotclese 1:316582aec4fb 26 extern void MainGrantAccess(uint8_t u8_thisAccessLevel);
Damotclese 0:04d4cc695e56 27
Damotclese 0:04d4cc695e56 28 #endif
Damotclese 0:04d4cc695e56 29
Damotclese 0:04d4cc695e56 30 // End of file
Damotclese 0:04d4cc695e56 31