Skip to content

Conversation

@UberEclectic
Copy link

Aleksej,

Here, I offer up an alternative to your example code.
It's mainly your code, but with more command-line options to tweak the behavior.
In addition, I wrote a systemd service to auto-start the program when the system boots.
My version of the README.md has the details on how to implement.

Feel free to merge if you like, and/or borrow any aspect you may find useful.

Here is a video showing the changes in action:

https://www.reddit.com/r/raspberry_pi/comments/awvfkq/enhanced_gra_afch_raspberry_pi_nixie_tube_clock/

UberEclectic and others added 6 commits March 2, 2019 18:44
+Major features of the Shaner mods:

  1) Use the system RTC by default (e.g. rely on NTP for more accurate time).
  2) Option to display 12-hour or 24-hour for the hour digits.
  3) Repurpose MODE button to toggle fireworks on/on.
  4) Repurpose UP/DOWN buttons to increase/decrease the fireworks cycle speed.
  5) Command-line parsing to choose preferred options without recompile.
  6) Re-wrote makefile for proper handling of binary rebuild any time the sources are modified.
Shaner enhancements. including use of system RTC, 12-hour vs 24-hour display, toggle fireworks on/off, speed up/down fireworks, and a bonafied systemd nixie.service for proper startup at syste boot.
Minor formatting.
Minor formatting of README for Shaner enhanced NixieDisplay system service.
* MODE Button:  Toggle fireworks on/off
* UP Button:    Speed up fireworks color-rotation
* DOWN Button:  Slow down fireworks color-rotation
* MODE Button:  Toggle fireworks on/off
* UP Button:    Speed up fireworks color-rotation
* DOWN Button:  Slow down fireworks color-rotation
@afch
Copy link
Owner

afch commented May 16, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants