From 90d294fc47f6cd3bf3dc3b537e8c5e18b1ff14df Mon Sep 17 00:00:00 2001 From: Khoa Ton Date: Fri, 10 Apr 2020 01:56:23 -0700 Subject: [PATCH] Fixed error in sample usage comment --- tasmota/xdsp_11_sevenseg.ino | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tasmota/xdsp_11_sevenseg.ino b/tasmota/xdsp_11_sevenseg.ino index ab311c92e..d2d533e5b 100644 --- a/tasmota/xdsp_11_sevenseg.ino +++ b/tasmota/xdsp_11_sevenseg.ino @@ -105,10 +105,11 @@ void SevensegDrawStringAt(uint16_t x, uint16_t y, char *str, uint16_t color, uin // [prefix(es) chars]digits // Some combinations won't make sense. // Reference: https://learn.adafruit.com/adafruit-led-backpack/1-2-inch-7-segment-backpack-arduino-wiring-and-setup - // Valid combinations: - // x32 => 20 - // st:241 => 04:01 - // sT240 => 4 01 + // Some sample valid combinations: + // 787 -> 787 + // x47 -> 2F + // st:241 -> 04:01 + // sT241 -> 4 01 switch (str[i]) { case 'x': // print given dec value as hex hex = true;