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.
Fork of LCD_test by
main.cpp
- Committer:
- slimbenothman
- Date:
- 2018-06-04
- Revision:
- 1:d8bbe6c6a563
- Parent:
- 0:2e3ae6cbbe60
File content as of revision 1:d8bbe6c6a563:
#include "mbed.h"
#include "TextLCD.h"
TextLCD lcd(PA_9, PC_7, PB_5, PB_4, PB_10, PA_8); // rs, e, d4-d7
char *message = " Hello there mousie!";
int main()
{
lcd.printf("Yay! Woo! from Rainycat!");
int i=0;
while (1) {
lcd.locate(1,0);
lcd.printf(message);
message=message+1;
i++;
if (i == strlen(message))
strcpy(message, " Hello there mousie!");
wait_ms(450);
}
}
