このライブラリは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

Revision:
5:a7ba72bf10ba
Parent:
4:33e035f6a337
Child:
6:a1eb5de4146f
--- 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