gpeter62 / ESP_UniClock

ESP8266 Universal WifiClock with Nixie, VFD, Numitron tubes or LEDs
22 stars 3 forks source link

Additional tubes #2

Open harrehlah opened 3 weeks ago

harrehlah commented 3 weeks ago

Hey, I love this! I got it working on my IV 18, but now I am trying to make it work on an IV 27 for a gift!

How could this be modified to have an additional 4 tubes/digits integrated for constant date/temp/humidity display?

gpeter62 commented 3 weeks ago

I think, it is possible.

In file clocks.h make a new clock or modify an existing IV-18 clock. Modify the following line with the extra 4 digit enable pins. (You need 12 pins to define) byte digitEnablePins[] = {6, 10, 5, 4, 0, 3, 2, 1, ??, ??, ??, ??}; //digit enable OUTbits of MAX6921 (1,2,3,4,5,6,7,8) (You may define any number)

in the main program you can find the functions displayTime8() and displayDate() and displayTemp(byte ptr) and displayHumid(byte ptr) You shuld modify this function by your need or write new functions instead of them.

On Fri, Aug 23, 2024 at 2:51 AM harrehlah @.***> wrote:

Hey, I love this! I got it working on my IV 18, but now I am trying to make it work on an IV 27 for a gift!

How could this be modified to have an additional 4 tubes/digits integrated for constant date/temp/humidity display?

— Reply to this email directly, view it on GitHub https://github.com/gpeter62/ESP_UniClock/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIKTQOM5GSQQPBN5LQWO3CTZS2BP7AVCNFSM6AAAAABM7F2UC6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4DEMBTGU4DCNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>