One other thing not related to your problem (don't know if you fixed it in
the real code)
According your pseudo code your output P8-10 will behave stange when the
temperature is almost 28 and the ADC toggles between 28 and the next lower
value.
To avoid it you should always use a hysteresis:
const HYSTERSIS = 0.2
if temp < 28-HYSTERESIS
GPIO.output(P8_10,HIGH)
if temp >= 28
GPIO.output(P8_10,LOW)
It depends on your system which hysteresis makes sense.
Chilli
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.