FRA221_2015 / Mbed 2 deprecated B3_ShutMeUp

Dependencies:   mbed

Fork of zProject_RTC_display_alarm by PuG

Revision:
4:a61cdd4e7afa
Parent:
2:6b4dda997dc0
--- a/DigitDisplay.cpp	Sat Dec 05 16:43:40 2015 +0000
+++ b/DigitDisplay.cpp	Sat Dec 05 19:01:26 2015 +0000
@@ -355,4 +355,26 @@
 {
     if(prebuttonState3==0 && buttonState3==1) return 1;
     else return 0;
+}
+void DigitDisplay::F()
+{
+    Displayset(0xF,0xFF,0xFF,0xFF);
+    wait_ms(100);
+    Displayset(0xFF,0xF,0xFF,0xFF);
+    wait_ms(100);
+    Displayset(0xFF,0xFF,0xF,0xFF);
+    wait_ms(100);
+    Displayset(0xFF,0xFF,0xFF,0xF);
+    wait_ms(100);
+}
+void DigitDisplay::A()
+{
+    Displayset(0xA,0xA,0xA,0xA);
+    wait_ms(100);
+    Displayset(0xA,0xA,0xA,0xA);
+    wait_ms(100);
+    Displayset(0xA,0xA,0xA,0xA);
+    wait_ms(100);
+    Displayset(0xA,0xA,0xA,0xA);
+    wait_ms(100);
 }
\ No newline at end of file