After a long wait here’s version 2.0 of the Tri-Temp Standard code. What changed? Lots.
- Button response is now very very fast.
- Button to toggle C/F temp measurements
- Temp reading is updated by interrupt timer. Approx every 5 sec.
- Code is documented
- Two new libraries needed – avr/interrupt.h and TimerOne.h
Here’s the code:
Continue reading “Tri-Temp Standard Code v2.0”
On my last project– which still isn’t done yet- the buttons for changing the temp display are very unresponsive.
The reason of course is because the Arduino has to loop through all the main code before getting around to checking the button status.
I found the cure! Interrupts!
EngBlaze has a great write up on how to use this. Whew! One less I have to write! Read it here. I’ll be modifying the Tri-Temp code to use interrupts soon. Sweet!