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.
Diff: main.cpp
- Revision:
- 1:b2c40f461dbd
- Parent:
- 0:824096cc05af
- Child:
- 2:b2512ade96de
diff -r 824096cc05af -r b2c40f461dbd main.cpp
--- a/main.cpp Fri May 19 18:21:24 2017 +0000
+++ b/main.cpp Mon Apr 25 02:20:54 2022 +0000
@@ -16,17 +16,9 @@
lcd.backlight();
lcd.print("Hello, world!");
- while (1) {
- /*
- // Read temperature register
- data_write[0] = LM75_REG_TEMP;
- i2c.write(LM75_ADDR, data_write, 1, 1); // no stop
- i2c.stop();
- wait(0.01);
- i2c.read(LM75_ADDR, data_read, 2, 0);
- i2c.stop();
-*/
- wait(0.01);
+ while (1)
+ {
+
}
}