You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32-14
Original file line number
Diff line number
Diff line change
@@ -69,15 +69,17 @@ If you use any of these super classes, you will also get all the basic, advanced
69
69
70
70
## Extended class extra methods
71
71
72
-
*`SevenSegmentExtended(clkPin, dioPin)`Creates a display object
73
-
*`printTime(hour, min)` Prints the time to the display
74
-
*`printDualCounter(leftValue, rightValue)` Prints two digits to the display
72
+
*`SevenSegmentExtended(clkPin, dioPin)` Creates a display object
73
+
*`printTime(hour, min, [blink], [blinkDelay])` Prints the time to the display
74
+
*`printTime(time, [blink], [blinkDelay])` Prints the time to the display
75
+
*`printDualCounter(leftValue, rightValue)` Prints two digits to the display
75
76
76
77
## Fun class extra methods
77
78
78
-
*`SevenSegmentFun(clkPin, dioPin)`Creates a display object
79
-
*`printLevelVertical(level)` Prints 1-3 vertical levels e.g. volume, battery
80
-
*`printLevelHorizontal(levels` Prints 4 horizontal levels e.g. equalizer
79
+
*`SevenSegmentFun(clkPin, dioPin)` Creates a display object
80
+
*`printLevelVertical(level, [leftToRight])` Print 0-100% (2 steps per digit) vertical level e.g. volume, battery
81
+
*`printLevelVertical(level, leftToRight, symbol)` Print 0-100% (1 step per digit) vertical level using custom symbol
82
+
*`printLevelHorizontal(levels[])` Prints 4 horizontal levels e.g. equalizer
81
83
*`scrollingText()` Prints text and (keeps) scrolling
82
84
*`snake()` Classic snake demo
83
85
*`nightrider()` Nightrider Kit demo
@@ -86,6 +88,10 @@ If you use any of these super classes, you will also get all the basic, advanced
86
88
87
89
For more extended information on what arguments all above functions accept and return see the header files of the classes (SevenSegmentTM1637.h, SevenSegmentExtended.h and SevenSegmentFun.h).
88
90
91
+
# Trouble shooting
92
+
93
+
* Some boards might not have enough power on their 5V pin. In that case try to use an external 5V power supply. People reported that the ESP8266 might be one of those boards.
94
+
89
95
# Todo
90
96
91
97
* Refactor library to make it more modular and support more chips
@@ -95,16 +101,28 @@ For more extended information on what arguments all above functions accept and r
95
101
96
102
# Changelog
97
103
98
-
* 28-09-2015 version 1.0.0
99
-
+ First release
100
-
* 28-09-2015 version 1.0.1
101
-
+ fixed folder structure to comply with Arduino library 1.5 rev 2 specifications
102
-
* 08-05-2016 version 1.0.2
103
-
+ fixed digitalHigh() macro for non AVR boards (thanks to [per1234](https://github.com/per1234))
104
-
* 22-05-2016 version 1.0.3
105
-
+ add support for all AVR MCU's (thanks to [per1234](https://github.com/per1234))
104
+
+ 04-07-2020 version 1.1.0
105
+
+ Improved `printLevelVertical()` using [pablo-lp](https://github.com/pablo-lp) suggestions
106
+
+ The default `printLevelVertical()` can diplay twice the number of levels now (e.g. 9 levels for a defaulf 4 digit display)
107
+
+ Add configurable blink delay when using the `printTime` methods (thanks to [simoneluconi](https://github.com/simoneluconi))
108
+
+ Added a new `printNumber()` method to make it easier to print right aligned numbers
109
+
+ Thanks [dan2600](https://github.com/dan2600), [Bilick88](https://github.com/Bilick88), [jasonacox](https://github.com/jasonacox) for your suggestions.
110
+
+ Bug fixes
111
+
+ Merge PR from [berendkleinhaneveld](https://github.com/berendkleinhaneveld) to fix some compiler warnings
112
+
+ Merge PR from [facelessloser](https://github.com/facelessloser) Remove some `Serial.prinln()` calls
113
+
+ Merge PR from [RAnders00](https://github.com/RAnders00) Fix incorrect repsonse from `comReadByte()`
114
+
+ Merge PR from [per1234](https://github.com/per1234) Use correct separator in `keywords.txt`
106
115
+ 04-11-2016 version 1.0.4
107
116
+ Fixed bombTimer not counting down to zero (thanks to [foons](https://github.com/fooons) for opening an issue)
117
+
* 22-05-2016 version 1.0.3
118
+
+ add support for all AVR MCU's (thanks to [per1234](https://github.com/per1234))
119
+
* 08-05-2016 version 1.0.2
120
+
+ fixed digitalHigh() macro for non AVR boards (thanks to [per1234](https://github.com/per1234))
121
+
* 28-09-2015 version 1.0.1
122
+
+ fixed folder structure to comply with Arduino library 1.5 rev 2 specifications
Copy file name to clipboardExpand all lines: examples/Basic/Basic.ino
+3-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
/*
2
2
Basic usage example
3
3
4
-
Demonstrated some of the basic functionality of the library. Initialize the display, set the backlight brightness, print some text, count from 0 to 100 and print on display and blink some text.
4
+
Demonstrated some of the basic functionality of the library. Initialize the display,
5
+
set the backlight brightness, print some text, count from 0 to 100 and
6
+
print and blink some text.
5
7
6
8
Note: make sure to set your serial monitor to line end: NEW LINE!
0 commit comments