Library for TM1637 LEDcontroller

Dependents:   Nucleo_TM1637

Fork of TM1637 by Wim Huiskamp

Files at this revision

API Documentation at this revision

Comitter:
youcann
Date:
Sun Sep 30 09:09:21 2018 +0000
Parent:
1:f63d87466f55
Commit message:
first

Changed in this revision

TM1637.h Show annotated file Show diff for this revision Revisions of this file
TM1637_Config.h Show annotated file Show diff for this revision Revisions of this file
--- a/TM1637.h	Fri Oct 06 16:43:56 2017 +0000
+++ b/TM1637.h	Sun Sep 30 09:09:21 2018 +0000
@@ -81,7 +81,7 @@
 
 
 //TM1637 Display data
-#define TM1637_MAX_NR_GRIDS    6
+#define TM1637_MAX_NR_GRIDS    4
 #define TM1637_BYTES_PER_GRID  1
 
 //Significant bits Keymatrix data
--- a/TM1637_Config.h	Fri Oct 06 16:43:56 2017 +0000
+++ b/TM1637_Config.h	Sun Sep 30 09:09:21 2018 +0000
@@ -28,13 +28,13 @@
 
 // Select one of the testboards for TM1637 LED controller
 #define TM1637_TEST   0
-#define CATALEX_TEST  0 
+#define CATALEX_TEST  1 
 #define ROBOTDYN_TEST 0 
-#define EYEWINK_TEST  1 
+#define EYEWINK_TEST  0 
 
 // Select when you wish to keep the DEPRECATED Constructor with 3 Pins for mosi, miso and sclk
 // The new component Constructor uses only 2 pins: dio and clk
-#define SPI           1 
+#define SPI           0 
 
 // Select the display mode: only digits and hex or ASCII
 #define SHOW_ASCII    1