Junichi Katsu / Mbed 2 deprecated TemperatureSensor_class

Dependencies:   LM61CIZ mbed

Files at this revision

API Documentation at this revision

Comitter:
mbed_Cookbook_SE
Date:
Wed Jan 20 15:34:14 2016 +0000
Parent:
4:e4d441c80e1b
Commit message:
??

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r e4d441c80e1b -r c03e6a10f440 main.cpp
--- a/main.cpp	Wed Jan 20 15:31:46 2016 +0000
+++ b/main.cpp	Wed Jan 20 15:34:14 2016 +0000
@@ -2,16 +2,7 @@
 #include "LM61CIZ.h"
 
 Serial pc(USBTX, USBRX);
-
-#if defined(TARGET_LPC1114)
 LM61CIZ Temperature(dp13);
-#elif defined(TARGET_LPC1768)
-LM61CIZ Temperature(p20);
-#elif defined(TARGET_KL46Z)
-LM61CIZ Temperature(PTB0);
-#else
-LM61CIZ Temperature(dp13);
-#endif
 
 int main() {
     while(1) {