This program read temperature using two LM35 sensors on A0 and A1 analog inputs and displays average temperature using serial. Also, if the temp is in the range (18,22) C then the green led is on, if the temp is in the range (16,18) and (22,24) C the blue led is on, else red led will be on. You can see the connection diagram on my blog soon.

Dependencies:   mbed

Download repository: zip gz

Files at revision 0:cd3e218305bb

Name Size Actions
main.cpp 1445 Revisions Annotate
mbed.bld 65 Revisions Annotate