lpc824lite 采集温湿度压强数据显示至oled12864,通w5500与用户进行TCP交互

Dependencies:   mbed WIZnet_Library AM2320 BME280

Files at this revision

API Documentation at this revision

Comitter:
dadangjia
Date:
Sun Feb 11 00:52:50 2018 +0000
Parent:
1:cc2094da451b
Commit message:
lpc824 w5500 sd1306 am2320 bemp280

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon May 29 00:35:16 2017 +0000
+++ b/main.cpp	Sun Feb 11 00:52:50 2018 +0000
@@ -72,7 +72,7 @@
 }
 
 #include "BME280.h"
-BME280 sensor(I2C_SDA, I2C_SCL);
+BME280 sensor(PB_9, PB_8);
 void bme280_dat()
 {
   snprintf(buffer3,sizeof(buffer3), "%2.2fC %6.0fPa",sensor.getTemperature(), sensor.getPressure()*100);