Correct u8g2log init
This commit is contained in:
parent
e515beb4d0
commit
28025c7de6
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ void setup() {
|
||||||
u8g2.setFont(u8g2_font_t0_15_mf);
|
u8g2.setFont(u8g2_font_t0_15_mf);
|
||||||
u8g2.enableUTF8Print();
|
u8g2.enableUTF8Print();
|
||||||
|
|
||||||
u8g2log.begin(U8LOG_WIDTH, U8LOG_HEIGHT, u8log_buffer);
|
u8g2log.begin(u8g2, U8LOG_WIDTH, U8LOG_HEIGHT, u8log_buffer);
|
||||||
u8g2log.setLineHeightOffset(0); // set extra space between lines in pixel, this can be negative
|
u8g2log.setLineHeightOffset(0); // set extra space between lines in pixel, this can be negative
|
||||||
u8g2log.setRedrawMode(0); // 0: Update screen with newline, 1: Update screen for every char
|
u8g2log.setRedrawMode(0); // 0: Update screen with newline, 1: Update screen for every char
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue