Moved to use EXTI to read button status

Temperature sensor appears to work (may need calibration work still)
This commit is contained in:
Ben V. Brown
2016-09-20 23:11:36 +10:00
parent 98ca6784a0
commit 52e92feae7
20 changed files with 321 additions and 2035 deletions

View File

@@ -32,7 +32,7 @@ int16_t readTipTemp() {
uint32_t max = 0, min;
uint32_t ad_value, avg_data;
Set_HeatingTime(0); //set the remaining time to zero
setIronTimer(0); //set the remaining time to zero
HEAT_OFF(); //heater must be off
delayMs(50); //wait for the heater to time out
uint8_t gMeas_cnt = 9; //how many measurements to make