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:
Sat Jun 01 05:32:16 2019 +0000
Revision:
0:04d4cc695e56
Child:
1:316582aec4fb
Initial demonstration project check in.;

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 0:04d4cc695e56 5 // Fredric L. Rice, May 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 0:04d4cc695e56 12 // We define the format of the keypad data structure which the
Damotclese 0:04d4cc695e56 13 // module will use to describe the placement of each key
Damotclese 0:04d4cc695e56 14 typedef struct KeypadLocation
Damotclese 0:04d4cc695e56 15 {
Damotclese 0:04d4cc695e56 16 uint16_t u16_screenXLocation;
Damotclese 0:04d4cc695e56 17 uint16_t u16_screenYLocation;
Damotclese 0:04d4cc695e56 18 uint16_t u16_keyHeight;
Damotclese 0:04d4cc695e56 19 uint16_t u16_keyWidth;
Damotclese 0:04d4cc695e56 20 uint8_t u8_keyASCIICharacter;
Damotclese 0:04d4cc695e56 21 } KeypadLocation_t;
Damotclese 0:04d4cc695e56 22
Damotclese 0:04d4cc695e56 23 #endif
Damotclese 0:04d4cc695e56 24
Damotclese 0:04d4cc695e56 25 // End of file
Damotclese 0:04d4cc695e56 26