Hello group,
When last I revisited my two tube code, I made it so that you could
hold down 2 buttons at startup and reassign the cathode outputs
assigned to each tube, held in EEPROM space, so people can arrange
their board layouts to better suit whatever tubes they might wish to
use with the controller. I wracked my brain as to the best way to do
this and having tried a few approaches, in the end I settled for a
system as follows:
Tube 1 flashes once then pauses. It flashes once again and pauses
etc. So you know you are adjusting tube 1. User presses button A
until user's tube shows a 1. User presses button B to move on to
cathode 2.
Tube 1 flashes twice then pauses. Then repeats blink-blink-off. User
adjusts button A until the tube shows a 2.
... and so on. Up to 9 flashes and user adjusting until a 9 is seen.
Then it moves on to tube 2.
This seemed to me to a bomb-proof way of doing it, but knowing there
are some hugely ingenious people in this group, some of whom are
steeped in programming methodology, I wonder what cute way of doing
this might be better and easier.
I guess for simplicity I could assume people are using the same tube
for both tubes, thus assigning one tube does the assignments for both
tubes or all tubes, if I extend this idea to 4 or 6 tube drivers.
The issue is letting the user know what step he or she is currently
on and thus which number should be displayed. It's easy to get lost -
now was I on step 6 or 7 and the display is showing a 5? I cannot
remember where I am.
John S
--
You received this message because you are subscribed to the Google Groups
"neonixie-l" group.
To post to this group, send an email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/neonixie-l?hl=en-GB.