hoge
Fork of SevenSegLed by
Diff: SevenSegLed.h
- Revision:
- 5:a7ba72bf10ba
- Parent:
- 4:33e035f6a337
- Child:
- 6:a1eb5de4146f
diff -r 33e035f6a337 -r a7ba72bf10ba SevenSegLed.h --- a/SevenSegLed.h Mon Nov 25 05:48:43 2013 +0000 +++ b/SevenSegLed.h Sat Nov 30 23:59:26 2013 +0000 @@ -24,8 +24,9 @@ //***********************************************************************/ //* */ //* ledDynamic.h */ -//* V1.0 : 4digit(4com) display */ -//* V2.0 : 8digit(8com) display */ +//* --------- V1.0 : 4digit(4com) display */ +//* --------- V2.0 : 8digit(8com) display */ +//* @SS131130 V2.1 : HYOJI MODE NO TUIKA (smooth or hard) */ //* */ //***********************************************************************/ #ifndef _SEVENSEGLED_H @@ -40,6 +41,9 @@ * // * //This program by one every second counts, do a 8-digit seven-segment LED display. * // + * // <compile option> + * // SevenSegLed.h "USECOM4" : YUKO JI SAIDAI 4COM. MUKO JI SAIDAI 8COM. + * // * //seven segment numeric LED Display : LTC4627P * // http://www.excesssolutions.com/mas_assets/acrobat/ES5721.pdf * // @@ -119,7 +123,8 @@ * @endcode */ -#define USECOM4 +//#define USECOM4 // YUKO JI COM SUU 4KETA MADE. NUKO JI COM SUU 8KETA MADE. + // LPC1114FN28 DEHA PIN SETTI DE "NC" ATUKAI DEKINAI NODE kitchen timer YO NI KONO commpile option WO TUKERU #include "types.h" @@ -127,6 +132,11 @@ class SevenSegLed { public: + //@SS131130 + /** Display henko set + * @param smooth 0:smooth 1:hard + */ + void smoothSet(uint8_t smooth); /** Create a seven segment led array object connected to the specified DigitalOut pin