afch / NixeTubesShieldNCS314

Firmware (Sketch) for Arduino UNO/MEGA and GRA & AFCH Nixie Tubes Shield NCS314-4 Tubes, NCS314-6 Tubes and NCS312-6 Tubes by GRA & AFCH
https://www.gra-afch.com
58 stars 51 forks source link

Added message scrolling, ACP and global time variables. #1

Open judge2005 opened 7 years ago

judge2005 commented 7 years ago

Hi,

I thought you might be interested in several things I added to your base code:

  1. ACP every 10 minutes (function is called oneArmedBandit()).
  2. Display the date very minute at 50s - this uses a class called Transition. I implemented several transitions - scrolling and scrambling. This also means I had to add an extra mechanism to blank digits.
  3. Use global variables for hours, minutes, seconds and milliseconds. This is so that all the functions called from loop() see the same values. For example, this means that the flashing separators stay in sync with the actual seconds display.

I hope you find these changes interesting.

Thanks - Paul Andrews

afch commented 7 years ago

I read all of your messages, but I'm on vacation and I have no way to check it out. But anyway, I really appreciate what you are doing!

judge2005 commented 7 years ago

No problem. Love the clock and you are welcome to the code if you want to use it. Compiled code size is quite large now (though it still fits!). It could be reduced by reducing the number of transition types.

If you want to discuss any of the changes, feel free to get in touch.

afch commented 7 years ago

I just looked at all your commits. Your code are awsome, you are really pro! We made a new shield rev 1.2 that support: Arduino Mega (and UNO too), Temperature sensor (work - tested but not implemented yet in firmware) IR sensor (work - tested but but not implemented yet in firmware) Light Sensor (not tested) GPS (only for Arduino Mega, work - tested but but not implemented yet in firmware) We want to present for You this new shield for 1$(+shipping cost): just make "best offer" on 1$ for this listing: http://www.ebay.com/itm/162198121548

afch commented 7 years ago

I have a question: why You decide to move on HSV color model?