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.
Revision 1:99f6b4191e94, committed 2014-05-27
- Comitter:
- Eduvance
- Date:
- Tue May 27 07:30:09 2014 +0000
- Parent:
- 0:9dc21787f133
- Commit message:
- A
Changed in this revision
| TextLCD.lib | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 9dc21787f133 -r 99f6b4191e94 TextLCD.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TextLCD.lib Tue May 27 07:30:09 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/Eduvance/code/TextLCD/#befde34054fb
diff -r 9dc21787f133 -r 99f6b4191e94 main.cpp
--- a/main.cpp Mon May 19 10:20:36 2014 +0000
+++ b/main.cpp Tue May 27 07:30:09 2014 +0000
@@ -1,12 +1,16 @@
-#include "mbed.h"
-
-DigitalOut myled(LED1);
+#include "mbed.h" //header file
+#include "LCD.h"
-int main() {
- while(1) {
- myled = 1;
- wait(0.2);
- myled = 0;
- wait(0.2);
- }
+DigitalOut myled(LED1);
+int main() {
+while(1) {
+LCD_init(); //initialising LCD
+ display_to_LCD(0x48); // “H‟
+ display_to_LCD(0x45); // “E‟
+ display_to_LCD(0x4C); // “L‟
+ display_to_LCD(0x4C); // “L‟
+display_to_LCD(0x4F); // “O‟
+ wait(1);
+
}
+}