Projet ER4 - Groupe AS - IUT Tarbes
/
testPourMikel
dfgdfgdfg
Fork of app-shield-LCD by
main.cpp
- Committer:
- AS_ER4
- Date:
- 2017-01-20
- Revision:
- 6:d90b6de72b40
- Parent:
- 4:39c7c31b8fb0
- Child:
- 7:9bf99b580671
File content as of revision 6:d90b6de72b40:
#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,12); } } void printStringScreen(char x, char y, char* toto){ lcd.locate(x,y); lcd.printf(toto); }