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.

SecurityUnlockDemo-Moorse.h

Committer:
Damotclese
Date:
2019-06-01
Revision:
1:316582aec4fb

File content as of revision 1:316582aec4fb:


// ----------------------------------------------------------------------
// SecurityUnlockDemo-Moorse.h
//
// Fredric L. Rice, June 2019
//
// ----------------------------------------------------------------------

#ifndef _SECURITYUNLOCKDEMOMOORSE_H_
#define _SECURITYUNLOCKDEMOMOORSE_H_      1

// ----------------------------------------------------------------------
// Describe MACROs which the module may use
//
// ----------------------------------------------------------------------

// We allow a maximum number of Moorse Code characters to be entered
// using the push button
#define MAX_MOORSE_PULSES       10

// ----------------------------------------------------------------------
// Function prototypes that we will export
//
// ----------------------------------------------------------------------

extern void MoorseInit(void);
extern void MoorseScanPushButton(void);

#endif

// End of file