suu pen さんのライブラリをフォークしました。 このライブラリは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: HumidifierController_LPC824
Fork of SevenSegLed by
Diff: SevenSegLed.h
- Revision:
- 3:f4680c84b347
- Parent:
- 2:cca0fd8ccb97
--- a/SevenSegLed.h Fri Dec 02 14:03:00 2011 +0000 +++ b/SevenSegLed.h Sat Apr 21 23:36:51 2012 +0000 @@ -1,5 +1,6 @@ /* mbed Seven segment LED (Maximum four digit) Library * Copyright (c) 2011 suupen + * 120422 hyoji no smooth to hard no settei wo kirike suru kansuu wo tuika. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -126,7 +127,11 @@ class SevenSegLed { public: - + //@SS120422 + /** 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 * @param commonPole The polarity of the seven segment led common 0:Anode common, 1:Cathode common