DHT11 example f
Dependencies: mbed C12832 I2CLCD TextLCD
Diff: Main.cpp
- Revision:
- 4:67b457cac0ec
- Parent:
- 3:93078a6f3bad
- Child:
- 5:973401999337
--- a/Main.cpp Wed Dec 11 11:41:14 2019 +0000 +++ b/Main.cpp Wed Dec 11 11:48:52 2019 +0000 @@ -21,7 +21,7 @@ i2c.write(SGP30I2CAddress8, cmd, 2); //2=two bytes of data while(1) { - wait(1.0f); //wait 1 second btween reads + wait(1.0f); //wait 1 second between reads lcd.locate(0,0); //LCD cursor to top left cmd[0] = 0x20; cmd[1] = 0x08; //command 0X0208 reads six bits of air quality