leonvandenbeukel / 3D-7-Segment-Digital-Clock

3D Printed 7 Segment Digital Clock with multi color LEDs
MIT License
171 stars 70 forks source link

problems with dots #20

Closed pakobrien closed 3 years ago

pakobrien commented 3 years ago

Hi Leon, first thank you very much for the project, I really liked it and I decided to do it. The problem I have is that I have manufactured your watch but with two LEDs, I have read the posts and I have modified the .ino but now the points do not work and I have the A7 segment blinking as if they were the points, in the points I have only put a led in each one, I have a total of 58 leds, what should I change to fix this? The humidity temperature does not work either, thanks in advance

pakobrien commented 3 years ago

resolved,I need to change this:

void displayDots(int dotMode) { // dotMode: 0=Both on, 1=Both Off, 2=Bottom On, 3=Blink switch (dotMode) { case 0: LEDs[28] = colorMODE == 0 ? colorCRGB : colorCHSV; LEDs[29] = colorMODE == 0 ? colorCRGB : colorCHSV; break; case 1: LEDs[28] = colorOFF; LEDs[29] = colorOFF; break; case 2: LEDs[28] = colorOFF; LEDs[29] = colorMODE == 0 ? colorCRGB : colorCHSV; break; case 3: LEDs[28] = (LEDs[28] == colorOFF) ? (colorMODE == 0 ? colorCRGB : colorCHSV) : colorOFF; LEDs[29] = (LEDs[29] == colorOFF) ? (colorMODE == 0 ? colorCRGB : colorCHSV) : colorOFF; FastLED.show();