I am working on a simple exercise timer. The user inputs exercise time &
recover time. And it beeps when the exercise state times out, and beeps 5
times (1 sec on/off) when going back into exercise state. It uses li-ion
batteries for a power source.
You'd think this would be an easy simple, 20 lines of code program but it's
so much more code than I thought it would be.
The project uses a rotary encoder to enter the times, the switch on the
encoder to accept and to get it into other states. An ADC channel to
is used measure battery voltage. A piezo buzzer is used for sound.
And I am using a 4 row, 20 column lcd display
I think any time you have an operator interface that will blow up the
code size. This thing is around 400 lines of code and I'm not done yet.
Feel free to post the code when you're ready... there may be plenty of opportunities to refactor it down.
Cheers.
Will do, thanks