LM75Bをmbed LPC1114FN28に繋げて、温度をシリアルコンソールに出力するプログラム

Dependencies:   LM75B mbed

Fork of LM75B_HelloWorld by Neil Thiessen

Revision:
8:08131df17a03
Parent:
2:a427f29fdfa0
diff -r c2061c591c28 -r 08131df17a03 main.cpp
--- a/main.cpp	Fri May 30 19:05:05 2014 +0000
+++ b/main.cpp	Wed Feb 03 14:48:49 2016 +0000
@@ -2,7 +2,7 @@
 #include "LM75B.h"
 
 //Create an LM75B object at the default address (ADDRESS_0)
-LM75B sensor(p28, p27);
+LM75B sensor(dp5, dp27);
 
 int main()
 {