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 1:316582aec4fb 1
Damotclese 1:316582aec4fb 2 // ----------------------------------------------------------------------
Damotclese 1:316582aec4fb 3 // SecurityUnlockDemo-Moorse.h
Damotclese 1:316582aec4fb 4 //
Damotclese 1:316582aec4fb 5 // Fredric L. Rice, June 2019
Damotclese 1:316582aec4fb 6 //
Damotclese 1:316582aec4fb 7 // ----------------------------------------------------------------------
Damotclese 1:316582aec4fb 8
Damotclese 1:316582aec4fb 9 #ifndef _SECURITYUNLOCKDEMOMOORSE_H_
Damotclese 1:316582aec4fb 10 #define _SECURITYUNLOCKDEMOMOORSE_H_ 1
Damotclese 1:316582aec4fb 11
Damotclese 1:316582aec4fb 12 // ----------------------------------------------------------------------
Damotclese 1:316582aec4fb 13 // Describe MACROs which the module may use
Damotclese 1:316582aec4fb 14 //
Damotclese 1:316582aec4fb 15 // ----------------------------------------------------------------------
Damotclese 1:316582aec4fb 16
Damotclese 1:316582aec4fb 17 // We allow a maximum number of Moorse Code characters to be entered
Damotclese 1:316582aec4fb 18 // using the push button
Damotclese 1:316582aec4fb 19 #define MAX_MOORSE_PULSES 10
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 MoorseInit(void);
Damotclese 1:316582aec4fb 27 extern void MoorseScanPushButton(void);
Damotclese 1:316582aec4fb 28
Damotclese 1:316582aec4fb 29 #endif
Damotclese 1:316582aec4fb 30
Damotclese 1:316582aec4fb 31 // End of file
Damotclese 1:316582aec4fb 32