picaxe 102 smoke alarm program exampl
Karli Goldner
—
ges. Sample Code for Reset Functionality ```basic symbol RESET_BUTTON = 4 main: ' Setup pinmode RESET_BUTTON, INPUT ... do readadc SMOKE_SENSOR, sensorValue if sensorValue > SMOKE_THRESHOLD then gosub a