このライブラリは1桁から8桁までのSeven segment Numeric LEDを制御します。 LEDはanode commonとcathode common を使用することができます。 LEDの表示は1秒で表示をスムースに切り替えるモードと、直ぐに切り替えるモードの2つのモードを選択することができます。 This library to control the Seven segment Numeric LED 8 digit of 1. You can use the LED cathode common and anode common. Switch mode LED display and a second displayed a smooth, you can choose two modes to switch modes quickly.
Dependents: kitchenTimer_Clock kitchenTimer LPC1114FN28_kitchenTimer_Clock SevenSegmentLedSample ... more
Diff: SevenSegLed.cpp
- Revision:
- 3:f4680c84b347
- Parent:
- 1:3429249e30f9
diff -r cca0fd8ccb97 -r f4680c84b347 SevenSegLed.cpp --- a/SevenSegLed.cpp Fri Dec 02 14:03:00 2011 +0000 +++ b/SevenSegLed.cpp Sat Apr 21 23:36:51 2012 +0000 @@ -61,7 +61,14 @@ } - +/************************************** +* display henka set +* 0:smooth 1:hard +* @SS120422 +**************************************/ +void SevenSegLed::smoothSet(uint8_t smooth){ + D_smooth = smooth; +} /************************************** * 7segment no gray data kosin