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: DatatypesLength AsciiCode IntegerFormatSpecifiers FloatFormatSpecifier
Diff: main.cpp
- Revision:
- 2:9e13bd7280e1
- Parent:
- 1:a6effcf6c479
- Child:
- 3:52fb10c44695
diff -r a6effcf6c479 -r 9e13bd7280e1 main.cpp
--- a/main.cpp Mon Nov 22 22:23:08 2010 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,24 +0,0 @@
-#include "mbed.h"
-#include "OptrexLCD.h"
-
-DigitalOut BlinkLed(LED4);
-
-TextLCD lcd(p10, p12, p15, p16, p17, p18, TextLCD::LCD20x4 ); // rs, e, d0-d3
-
-int main() {
- lcd.printf("Start Hello World!\n");
- char teller = 0;
- lcd.printf("Tweede regel? %d \n", teller);
- wait(1.5);
-
- while(1){
- wait(0.5);
- lcd.cls();
- lcd.printf("125 Hello World! \n");
- lcd.printf("Tweede regel? %d \n", teller);
- lcd.printf("Derde regel? %d \n", (teller*3));
- lcd.printf("Vierde regel? \n");
- teller = teller++;
- BlinkLed = !BlinkLed;
- }
-}