このライブラリは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: Counter RenBed_Tutorial3 USBSerial_HelloRanti
Fork of SevenSegLed by
Revision 4:2f235ad35a6d, committed 2013-11-14
- Comitter:
- jf1452
- Date:
- Thu Nov 14 14:19:39 2013 +0000
- Parent:
- 3:f4680c84b347
- Commit message:
- Workshop 3 7 Segment Counter
Changed in this revision
SevenSegLed.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f4680c84b347 -r 2f235ad35a6d SevenSegLed.cpp --- a/SevenSegLed.cpp Sat Apr 21 23:36:51 2012 +0000 +++ b/SevenSegLed.cpp Thu Nov 14 14:19:39 2013 +0000 @@ -21,7 +21,7 @@ _com_1(com_1), _com_2(com_2), _com_3(com_3), _com_4(com_4), _com_5(com_5), _com_6(com_6), _com_7(com_7), _com_8(com_8){ - timer.attach_us(this, &SevenSegLed::segmentGrayDataKosin, 10000); // led smooth control 10ms timer inttruupt + timer.attach_us(this, &SevenSegLed::segmentGrayDataKosin, 4000); // led smooth control 10ms timer inttruupt // data table set of Brightness // DT_pwmGray[] = i ^ 2