Dear BalazsI am new to arduino. I am trying to make an electronic football scoreboard. It is meant to be operated using an LCD screen and five buttons as digital inputs. I have managed to code the LCD side of things but I am having some difficulty coding the timer. Your library seems be the perfect answer to the problems I am having with the timer part of the code.Attached is flow diagram showing what the LCD screen shows and what the seven segments are suppose to do.I am basically trying to use four variables:start_timematch_lengthend_timeinjury_timeAn additional variable called match_stage is used to determine if the match is in first half or first half injury or second half or second half injury or penalties.I want to drive the timer variables using the following logic:if match_stage is first half thenstart_time = 0end_time = match_length / 2set injury_time to user entered valueif injury_time value is greater than 1 thenstart_time = injury_timeend_time = 0At the end of injury count down or if injury_time = 0match_stage = second halfif match_stage is second half thenstart_time = match_length / 2end_time = match_lengthset injury_time to user entered valueif injury_time value is greater than 1 thenstart_time = injury_timeend_time = 0Could you please give me some direction as to how can I use your library to achieve this.
Hi Balázs, could you help me out please?Your library runs fine on Arduino IDE 1.6.5 (under windows 10), but both on 1.6.13 and 1.8.0, when I try to compile the SoftTimer1Task example, I get the "CallBack1 was not declared in this scope message".
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16