![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
LCD test-font adjust
Dependencies: C12832-font
main.cpp
- Committer:
- gr91
- Date:
- 2020-11-02
- Revision:
- 9:0cd4dc3b90a5
- Parent:
- 8:84a8d88959fd
File content as of revision 9:0cd4dc3b90a5:
#include "mbed.h" #include "C12832.h" #include "Fonts/Arial12x12.h" // Using Arduino pin notation C12832 lcd(D11, D13, D12, D7, D10); int main() { int j=0; lcd.cls(); lcd.set_font((unsigned char*)Arial12x12); 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++); wait(1.0); } }