Hi
How to change the font size in this code?
/*
1. "BL" (backlight) is digital H level control input, NOT direct driving of LED cathode (or anode). BL is a base pin of an NPN key with serial resistor 2k2, and need relatively big driving current (compared to NMOS keys)
2. column address starts from 0, not ftom 4 (like in most 128 colum displays)
3. "DC" pin is "A0" controller pin,
SCL and SDA
#define BACKLIGHT_LED 4
// pin 9 - Serial data out (SID) , SDA = PB7
// pin 8 - Serial clock out (SCLK) , SCL = PB6
// pin 7 - Data/Command select (RS or A0) , DC
// pin 6 - LCD reset (RST) , RST
// pin 5 - LCD chip select (CS) , CS
ST7565 glcd(PB7, PB6, 7, 6, 5);
//ST7565 glcd(SDA, SCL, DC, RST, CS5);
ST7565 glcd(9, 8, 7, 6, 5);
*/
//https://forum.arduino.cc/t/st7565-h-no-such-file-or-directory/1108713/2
#include "ST7565.h"
//ST7565 glcd(9, 8, 7, 6, 5);
//ST7565 glcd(40, 38, 36, 34, 32);
ST7565 glcd(PB7, PB6, PB5, PB4, PB3);
void setup() {
// initialize and set the contrast to 0x18
glcd.begin(0);// glcd.begin(10);, glcd.begin(brightness);
// glcd.clear();
delay(10);
// draw a string at location (0,0)
// glcd.drawstring(0, 1, "TEST 23434 45675");
// glcd.display();
}
void loop()
{
glcd.clear();
glcd.drawstring(0, 1, "TEST 23434 45675");
glcd.display();
}