kleiner Fix weil Segment F bei Ziffer 1 immer geleuchtet hat

This commit is contained in:
Stefan H. 2024-04-07 15:52:07 +02:00
parent 9507532fa1
commit b691019663

View file

@ -102,7 +102,7 @@ RtcDS3231<TwoWire> Rtc(Wire);
#ifdef USEWIFI
const bool useWPS = false; // set to false to disable WPS and use credentials below
const char *wifiSSID = "unhb.de";
const char *wifiPWD = "sagichnicht";
const char *wifiPWD = "wurstwasser";
#endif
/* End WiFi config/parameters--------------------------------------------------------------------------- */
@ -383,8 +383,8 @@ const uint16_t segGroups[42][2] PROGMEM = {
};
#if (LED_DIGITS == 4)
const uint16_t upperDots[2] PROGMEM = {18}; // leds inside the upper dots (right on L7-QBE)
const uint16_t lowerDots[2] PROGMEM = {19}; // leds inside the lower dots (left on L7-QBE)
const uint16_t upperDots[2] PROGMEM = {17}; // leds inside the upper dots (right on L7-QBE)
const uint16_t lowerDots[2] PROGMEM = {18}; // leds inside the lower dots (left on L7-QBE)
#endif
#if (LED_DIGITS == 6)
@ -392,8 +392,8 @@ const uint16_t upperDots[4] PROGMEM = {49, 50, 103, 104}; // all the leds inside
const uint16_t lowerDots[4] PROGMEM = {52, 53, 106, 107}; // all the leds inside the lower dots (bogus values on some models which don't support 6 digits)
#endif
const uint16_t amLight[1] PROGMEM = {21};
const uint16_t pmLight[1] PROGMEM = {22};
const uint16_t amLight[1] PROGMEM = {20};
const uint16_t pmLight[1] PROGMEM = {21};
// Using above arrays it's very easy to "talk" to the segments. Simply use 0-6 for the first 7 segments, add 7 (7-13) for the second one, 14-20 for third....
const uint8_t digits[21][7] PROGMEM = {