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-LCD by
main.cpp
- Committer:
- AS_ER4
- Date:
- 2017-01-30
- Revision:
- 8:b7c87fd00982
- Parent:
- 7:9bf99b580671
File content as of revision 8:b7c87fd00982:
#include "mbed.h"
#include "C12832.h"
// Using Arduino pin notation
C12832 lcd(D11, D13, D12, D7, D10);
void printStringScreen(char x, char y, char* toto);
AnalogIn pot1 (A0);
AnalogIn pot2 (A1);
float pot1F = (float)pot1*10;
int main()
{
int j=0;
while(1) {
lcd.pixel(10,10,1);
//lcd.set_contrast(0);
printStringScreen(0,0,"ceci est un test");
//printStringScreen(5,5,pot1);
}
}
void printStringScreen(char x, char y, char* toto){
lcd.locate(x,y);
lcd.printf(toto);
}
