Class to display Time in words on WS2812B-LED-Stripe. * Drive LEDs with PixelArray * with 11x10 LED-Matrix and 4 minute-LEDS * GERMAN LAYOUT !!!!!!
Details and usage see https://os.mbed.com/users/charly/code/WordClock/wiki/Homepage
Diff: WordClock.h
- Revision:
- 1:dd9657c12de6
- Parent:
- 0:0f571ea154f8
--- a/WordClock.h Sun Nov 05 20:30:51 2017 +0000
+++ b/WordClock.h Mon Nov 06 20:45:54 2017 +0000
@@ -31,7 +31,7 @@
//Number of different words
#define NUMWORDS 28
-/* Class: WorldClock
+/** Class: WorldClock
* A class to show time in words with LED-Stripe
*/
class WordClock {
@@ -54,6 +54,9 @@
/** test_display(int option)
*
* @param option option for test
+* 1 color gradient from red to red through hsv colors.
+* 2 display one LED in White, full brightness.
+* 3 display a word.
* @param index index for test. Which LED/word to set. 0..NUMLEDS, 0..NUMWORDS
*
*/
@@ -100,6 +103,15 @@
void m2(int second = 59);
void m3(int second = 59);
void m4(int second = 59);
+
+public:
+/** display SZ for Sommerzeit
+*/
+ void sz(); //Sommerzeit
+/** display WZ for Winterzeit
+*/
+ void wz(); //Winterzeit
+private:
//Digitalin for Pulldown
DigitalIn di_pin_;