mirror of https://github.com/arendst/Tasmota.git
Fixed error in sample usage comment
This commit is contained in:
parent
eb796f8976
commit
90d294fc47
|
@ -105,10 +105,11 @@ void SevensegDrawStringAt(uint16_t x, uint16_t y, char *str, uint16_t color, uin
|
||||||
// [prefix(es) chars]digits
|
// [prefix(es) chars]digits
|
||||||
// Some combinations won't make sense.
|
// Some combinations won't make sense.
|
||||||
// Reference: https://learn.adafruit.com/adafruit-led-backpack/1-2-inch-7-segment-backpack-arduino-wiring-and-setup
|
// Reference: https://learn.adafruit.com/adafruit-led-backpack/1-2-inch-7-segment-backpack-arduino-wiring-and-setup
|
||||||
// Valid combinations:
|
// Some sample valid combinations:
|
||||||
// x32 => 20
|
// 787 -> 787
|
||||||
// st:241 => 04:01
|
// x47 -> 2F
|
||||||
// sT240 => 4 01
|
// st:241 -> 04:01
|
||||||
|
// sT241 -> 4 01
|
||||||
switch (str[i]) {
|
switch (str[i]) {
|
||||||
case 'x': // print given dec value as hex
|
case 'x': // print given dec value as hex
|
||||||
hex = true;
|
hex = true;
|
||||||
|
|
Loading…
Reference in New Issue