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.
main.cpp
- Committer:
- shimniok
- Date:
- 2012-03-28
- Revision:
- 0:046ebfaa15d3
- Child:
- 1:ecaa29af5f6d
File content as of revision 0:046ebfaa15d3:
#include "mbed.h"
#include "SerialGraphicLCD.h"
SerialGraphicLCD lcd(p26, p25);
int main() {
lcd.baud(115200);
while (1) {
lcd.clear();
lcd.rect(3, 3, 20, 20);
lcd.printf("Hello World!");
lcd.pixel(14, 35, true);
lcd.pixel(16, 36, true);
lcd.pixel(18, 37, true);
lcd.pos(5, 30);
lcd.printf("Hi");
lcd.circle(50, 20, 20, true);
lcd.pos(50, 20);
lcd.printf("Howdy");
lcd.line(0, 0, 25, 25, true);
wait(2);
}
}