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.

Revision:
4:5c70a30d6757
Parent:
3:0e554d8d5a19
diff -r 0e554d8d5a19 -r 5c70a30d6757 SecurityUnlockDemo-Animation.cpp
--- a/SecurityUnlockDemo-Animation.cpp	Mon Jun 03 21:56:36 2019 +0000
+++ b/SecurityUnlockDemo-Animation.cpp	Tue Jun 04 22:51:25 2019 +0000
@@ -127,6 +127,12 @@
 // The colors that are supported are described in the sprite's
 // bit mapping.
 //
+// Note that we do not attempt to store the original pixel's color
+// value before writing it with a new value, so we can not restore
+// the pixel once the sprite moves off of it. This is a stark 
+// divergence from real spite automation which restores the original,
+// but we are demo code, not a real project, so we don't even try.
+//
 // ----------------------------------------------------------------------
 static void AnimationDrawOrEraseSpriteAtThisLocation(uint16_t u16_thisX, uint16_t u16_thisY, bool b_drawSprite)
 {