diff --git a/Adafruit_LEDBackpack.h b/Adafruit_LEDBackpack.h index 8b5f086..0b8c656 100644 --- a/Adafruit_LEDBackpack.h +++ b/Adafruit_LEDBackpack.h @@ -402,7 +402,7 @@ class Adafruit_7segment : public Adafruit_LEDBackpack { /*! @brief Write raw segment bits into display buffer. - @param x Character position (0-3). + @param x Character position (0-4), with 2 being the colon. @param bitmask Segment bits. */ void writeDigitRaw(uint8_t x, uint8_t bitmask); diff --git a/examples/clock_sevenseg_gps/clock_sevenseg_gps.ino b/examples/clock_sevenseg_gps/clock_sevenseg_gps.ino index a605496..f2f3b9d 100644 --- a/examples/clock_sevenseg_gps/clock_sevenseg_gps.ino +++ b/examples/clock_sevenseg_gps/clock_sevenseg_gps.ino @@ -125,7 +125,7 @@ void loop() { clockDisplay.writeDigitNum(1, 0); // Also pad when the 10's minute is 0 and should be padded. if (minutes < 10) { - clockDisplay.writeDigitNum(2, 0); + clockDisplay.writeDigitNum(3, 0); } }