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
main.cpp
- Committer:
- RobotManYt
- Date:
- 2019-05-27
- Revision:
- 0:c87b1ec5a183
File content as of revision 0:c87b1ec5a183:
#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);
}