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
Diff: main.cpp
- Revision:
- 0:c87b1ec5a183
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Mon May 27 23:45:59 2019 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+
+#define LCD 50
+
+I2C i2c(I2C_SDA, I2C_SCL);
+
+int main() {
+ char clr[2] = {0xFE, 0x51};
+ char data[7] = {'B', 'o', 'n', 'j', 'o', 'u', 'r'};
+ i2c.write(LCD, clr, 2);
+ i2c.write(LCD, data, 7);
+}
+
\ No newline at end of file