![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
LCD test-font adjust
Dependencies: C12832-font
main.cpp
- Committer:
- gr91
- Date:
- 2020-11-01
- Revision:
- 8:84a8d88959fd
- Parent:
- 6:f8cb706c480c
File content as of revision 8:84a8d88959fd:
#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); } }