Hi fellow coders,
I am, as my handle suggests, not long at this and I now find I need guidance as to how to proceed with a project I'm engaged on.
I have a timer under development, and I need a bit of guidance as to the path i'm to follow for the next phase of my coding.
Where I'm stuck is this:
The timer has many timing setup options.
For the sake of argument, and to give some idea of the complexity, let us specify them as:
Long, (single iteration or double iteration), (once or multiples(6, 12 or 24 times))
Shorter, (single iteration or double iteration), (once or multiples(6, 12 or 24 times))
Even shorter, (single iteration, double iteration), (once or multiples(6, 12 or 24 times))
And other variations that include flip/flopping players for 20sec apiece or 2 at once for 20,
and so on.
By (Long, Double, 12) I mean the clock will need to count down 10 sec, then from 4 minutes(Long) to zero( and that's 1 iter), reset with a 10 second interval to repeat the 4 mins(2nd iter) and then pause for a manual trigger to re-commence, and count up to 12 of those double iterations then end. You can work out the rest from that explanation I trust.
My concept is to use pre-programmed RFID cards with a reader on my control console to set variables for the current requirement - the options written on the card for ease of selection, and to be the go-to setup method for the user (most of whom will be non-tech), but also backed up with a 3 button / screen menu for situations where the cards are lost etc.
Now, as my coding skills are pretty rudimentary I'm sure I'll struggle with the whole variable setting and reading, so my plea for guidance.
I have managed to get the timer working on an STM32 and it's transmitting serial data to the screens wirelessly using HC-12 dohickeys - and I'm really chuffed at the progress so far.
Anybody interested in giving me a hand?
![]()