Junichi Katsu / Mbed 2 deprecated temp_lcd_sd

Dependencies:   SB1602E SDFileSystem mbed

Committer:
mbed_Cookbook_SE
Date:
Mon May 11 10:11:11 2015 +0000
Revision:
0:a84ca5aea16f
Child:
1:758a4ce77b97
????????????????

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_Cookbook_SE 0:a84ca5aea16f 1 #include "mbed.h"
mbed_Cookbook_SE 0:a84ca5aea16f 2
mbed_Cookbook_SE 0:a84ca5aea16f 3 AnalogIn sensor(dp13);
mbed_Cookbook_SE 0:a84ca5aea16f 4 Serial pc(USBTX, USBRX);
mbed_Cookbook_SE 0:a84ca5aea16f 5
mbed_Cookbook_SE 0:a84ca5aea16f 6 int main() {
mbed_Cookbook_SE 0:a84ca5aea16f 7 while(1) {
mbed_Cookbook_SE 0:a84ca5aea16f 8 float Temperature;
mbed_Cookbook_SE 0:a84ca5aea16f 9
mbed_Cookbook_SE 0:a84ca5aea16f 10 Temperature = (sensor * 3.3 - 0.6) / 0.01;
mbed_Cookbook_SE 0:a84ca5aea16f 11
mbed_Cookbook_SE 0:a84ca5aea16f 12 pc.printf("Temperature = %f\r\n",Temperature);
mbed_Cookbook_SE 0:a84ca5aea16f 13
mbed_Cookbook_SE 0:a84ca5aea16f 14 wait(1.0);
mbed_Cookbook_SE 0:a84ca5aea16f 15 }
mbed_Cookbook_SE 0:a84ca5aea16f 16 }