Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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