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.
Dependents: TextLCD_SR4_TestProgram ServoInterfaceBoardExample1
Diff: main.cpp
- Revision:
- 1:7c375c1ac22c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp Mon Oct 25 22:41:04 2010 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+#include "TextLCD_SR4.h"
+
+TextLCD_SR4 lcd(p29, p30, p28, p27);
+
+int main() {
+ lcd.locate(0, 0);
+ lcd.printf(" TextLCD_SR4 ");
+ lcd.locate(0, 1);
+ lcd.printf(" Library test ");
+ wait(5);
+ int n = 0;
+ while (1) {
+ lcd.locate(0, 1);
+ lcd.printf("count:%10d", n++);
+ }
+}