wvmarle:
Sorry, no clue what you're trying to do, really.Timing is normally done using millis(), and variables to hold a start time, an interval, and the iterations. So I guess something like this:
Thank you for your kind reply vwmarle, good of you to take the time.
However, as I thought I had clearly stated in my request that I had the timer working successfully and transmitting data wirelessly to two screens I feel that the reply you give misses my query entirely.
OldManNoob:
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.
Where I need guidance is in getting data off an RFID card and into the variables that set up the shootTime, the Details count, the shootEnds count (the number of rounds of either single or double iteration) and so on:
byte shootTime = 120; // Set start count value
byte shootEnds = 12; // Total number of Ends for competition
bool Details = true; // Single (false) or Double detail (true)
bool Practice = true; // Initially set as a practice round
bool shootDetail = true; // toggled for details AB or CD
const int hold = 10000; // set delay before detail change
byte Go = 0; // Starting buzzer first state
byte endCount = 1; // Ending state not reached
byte Walk = 10; // Default walkup period
I've attached my code so far as it goes - feel free to test it (stm32, LDP-6432-P7.62v2 led matrix driven by a PLT2001 matrix driver, and feel free to make suggestions.
I'm not a proud person but, when criticising my poor noob efforts, please do it constructively: :![]()
_2001Dev05OctLarge.ino (11.7 KB)