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 app-shield-accelerometer by
main.cpp
- Committer:
- chris
- Date:
- 2014-02-06
- Revision:
- 4:39c7c31b8fb0
- Parent:
- 3:2db94ee076ee
- Child:
- 5:636ebfdf373b
File content as of revision 4:39c7c31b8fb0:
#include "mbed.h"
#include "C12832.h"
// Using Arduino pin notation
C12832 lcd(D11, D13, D12, D7, D10);
int main()
{
int j=0;
lcd.cls();
lcd.locate(0,3);
lcd.printf("mbed application shield!");
while(true) { // this is the third thread
lcd.locate(0,15);
lcd.printf("Counting : %d",j);
j++;
wait(1.0);
}
}
