g0hjq / lcd_nixie_clock

Pseudo Nixie LCD clock in Micropython for the Waveshare kit and Pi Pico
MIT License
3 stars 5 forks source link

Clock not showing .raw files #1

Closed dementidesu closed 9 months ago

dementidesu commented 1 year ago

It seems that main.py does not utilise function display_digit_nixie() from display.py, resulting in inability to show font from .raw files

onmywrist commented 1 year ago

Just change the LCD.display_dots in line 267 of main.py LCD.display_digit_nixie(x) Probably a couple of other places you need to change (like a few lines below for 4 digit time display) but you get the idea.

jimmysonfire commented 1 year ago

Just change the LCD.display_dots in line 267 of main.py LCD.display_digit_nixie(x) Probably a couple of other places you need to change (like a few lines below for 4 digit time display) but you get the idea.

Thanks helped a lot! The other line for 4 digit time mode is line# 291

g0hjq commented 1 year ago

Hi,

Thank you for letting me know.

I've just checked, and the version of the code in Github was out of date compared with what is in my clock. I've updated git to the latest version, and it should be OK now.

The main difference is to allow the font to be changed from the settings menu. Options are Nixie Tube images, dot-matrix in various colours, and 7-segment in different colours.

Please upload all files and try again.

Gary.

onmywrist commented 1 year ago

btw great job Gary! Just tried the updated code and it works perfectly without a change. Like you I was very disappointed with the software support for this kit. I actually think the hardware is good for the price. Unlike you, I went down the C code route and it ended up nowhere near as neat as yours, although it does function.