![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
LCD test-font adjust
Dependencies: C12832-font
Diff: main.cpp
- Revision:
- 8:84a8d88959fd
- Parent:
- 6:f8cb706c480c
diff -r 708fb6ee9615 -r 84a8d88959fd main.cpp --- a/main.cpp Sun Nov 01 17:40:58 2020 +0000 +++ b/main.cpp Sun Nov 01 23:04:24 2020 +0000 @@ -1,5 +1,6 @@ #include "mbed.h" #include "C12832.h" +#include "Fonts/Arial12x12.h" // Using Arduino pin notation C12832 lcd(D11, D13, D12, D7, D10); @@ -8,6 +9,7 @@ { int j=0; lcd.cls(); + lcd.set_font((unsigned char*)Arial12x12); lcd.locate(0,3); lcd.printf("mbed application shield!");