schneider françois
/
TMP102HelloWorld
pour donner à etudiants
Fork of TMP102HelloWorld by
main.cpp
- Committer:
- chris
- Date:
- 2012-04-19
- Revision:
- 0:89f745be63a8
- Child:
- 1:9b49379e8bf6
File content as of revision 0:89f745be63a8:
#include "mbed.h" #include "TMP102.h" TMP102 temperature(p9, p10, 0x90); //A0 pin is connected to ground int main() { printf("Temperature: %f\n", temperature.read()); return 0; }