chrisys / train-departure-display

A replica, near real-time, miniature UK railway station train departure sign based upon a Raspberry Pi Zero and 256x64 SPI OLED display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Acceptable for variables?

ScottTheHippy opened this issue · comments

Howdy- I'm trying to get the screen to show the time 24/7. What I'm finding is that the variable(s) operatingHours, screenBlankHours, and/or outOfHoursName seem to be in effect even if deleted. I tried setting screenBlankHours to "0" and that didn't seem to make a difference. Is there some combination of these variable settings that will lead to the clock showing 24/7? Thanks, and fun thing to build. I had the same screen as you, and I might have used a lot of bad language moving that resistor. :)

As a follow up, it seems the big hurdle is screenBlankHours. If I delete the variable, it operates on the 1-6 default. What disables this all together? I'll try adding it back and setting it to 0-0.

@ScottTheHippy I've just written a fix for it to allow you to run with blank variables, when #73 merges give it a try and let me know!

P.S. thanks for building the project and thanks for reporting this! I am glad you had fun :) Feel free to reopen this issue if this does not fix it.