Hi,
I am releasing a new library that allows a user to define a menu of values and variables that display on a TM1638 seven segment LED display module.
The values of the variables can be modified by pressing buttons on the hardware and read by the software in real time.
This will be useful for anyone wanting to control their project using the buttons on the display unit. It also allows for parameters used by the project to be changed in real time.
The code is available as a zip file or from:
Any feedback, positive or negative will be most welcome.
Enjoy!
FWMenu Library v0.1.0.zip (10.3 KB)
I have made some updates for formatting of fields in the IDE, consistent line endings and I've fixed some compiler warning messages. There are no changes to the functionality.
The new version is at GitHub - Frantech/FWMenu: Arduino driven interactive menu interface for a TM1638 7 segment LED display module. tagged v0.1.4.
Or you can get it here. Version v0.1.4.
FWMenu Library v0.1.4.zip (10.7 KB)
Hi,
Here is another update - v0.1.6.
This one has a small functionality change in that it prevents you from reducing a menu value to below zero. This caused "ERROR" to be displayed, so this version is a little more robust.
There is also a small non-functional change to the argument formats used to call a parent class method.
The source code has been reformatted with the Arduino IDE (version 1.6.8) so there will be loads of changes if you do a file compare. If you are keen to know what has changed, clone the code from Github and look at the commit before the current level.
Again, enjoy and please let me know if there are any issues.
Cheers
Frantech
FWMenu Library v0.1.6.zip (10.4 KB)
Hi,
I found a bug in the button press sensing code so there is a small change to fix that in this latest release.
which is also available at //github.com/Frantech/FWMenu tagged v0.1.7.
Enjoy!
Cheers
Frantech
FWMenu Library v0.1.7.zip (10.4 KB)