Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of zProject_RTC_display_alarm by
Diff: DigitDisplay.cpp
- 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
