mbed workshop intro + cansat examples
Temp1.cpp
- Committer:
- yamaguch
- Date:
- 2012-05-10
- Revision:
- 0:f309f06aeec7
File content as of revision 0:f309f06aeec7:
#include "mbed.h"
AnalogIn lm60(p20);
int main() {
while (true) {
float value = lm60;
printf("lm60 = %5.4f\n", value);
wait(1.0);
}
}