the bani crew
/
TemperaturSensor
Erdäpfel
Diff: main.cpp
- Revision:
- 0:2faef44cbd2c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Apr 21 06:03:54 2017 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" +#include "LM75B.h" + +LM75B sensor (p28,p27); +float tempe; +int main() +{ + while(1) + { + + printf("Temp: %.2f\n\r",(float)sensor); + wait(0.5); + } +} +