Questions tagged [u8glib]

Refer to the graphics library U8glib with support for many different monochrome displays.

Filter by
Sorted by
Tagged with
1
vote
0answers
22 views

ST7920 and u8g2 only using some of a 128x64 display

I am trying to use the u8g2 library and an Arduino Mega to control an LCD display. Adapting HelloWorld from the examples included in the library to use the SPI ports of the Mega (50-52), I have the ...
1
vote
1answer
25 views

I am getting an error while trying to set up the U8g2 library

I am just trying to set up the U8g2 library to use an OLED. I read through the documentation and tried copying and pasting the code block example for the constructor, but switched out their ...
1
vote
2answers
66 views

How to properly put a u8g2 handle in a class

I'm trying to create a small battery powered alarm clock using an Arduino MKRZero and a generic SH1106-controlled, 128x64 pixel oled. I started out just dumping all code into a single file named Clock....
0
votes
0answers
38 views

Failed to display string on oled (SPI) from SD module

i am working on a project in which data from sd card is displayed on the oled screen both using SPI communication, but it is not displaying anything. i commented out the sd part and then oled works ...
1
vote
0answers
65 views

Arduino menu coding problem by Keypad and 128*64 graphic LCD

I am trying to modify on the menu code to be able to use a keypad shield and arduino for scrolling between lines. after uploading and trying the code the following has happened: 1- I can not scroll ...
1
vote
0answers
484 views

Can someone help me to change this code to u8g2

I would like to change this clock to u8g2. It works fine with the esp8266 and oled 128x64. I would start by including the u8g2 library with #include and all display. with u8g2. replace. What else ...
1
vote
0answers
394 views

LCD (I2C) issues with pull up resistor

I'm close to finish my first DYI project. But a never seen issue on the breadboard has apprear as soon as assembled. The LCD is always / totally blank/black. When I remove the 4.7 K ohm pull-up ...
0
votes
1answer
770 views

Problem to display Ntp time on an oled using U8G2 lib

So I have this code to get ntp time and display it on serial port. But I want to display it on a 1.30 inch I2C oled with a SH1106 controller using the U8G2 library. The only problem is I don't know ...
1
vote
1answer
4k views

using special symbols from the U8glib library

I enter font symbols into the u8g.setFont() and I get a string of sympols. How do I grab just one of those symbols, for example an arrow?
0
votes
1answer
6k views

SSD1306 / U8glib display fonts and commands

I cannot seem to find any reference for the SSD 1306 or U8glib display font library or any command reference, like all the options for display() etc. For my fonts I been going into the utility folder ...
0
votes
1answer
2k views

U8glib Code Help - Simple text display with new line [closed]

I havent coded in C++ for about 10 years and need to relearn, in the meantime, i have a project that i would like to get working. I have a sensor which i store uint16_t variables. I would like to ...
0
votes
2answers
958 views

U8glib funny problem

I have strange problem with u8glib library. I have code: void void_Menu_draw_func_men() { if ( menu_redraw_required != 0 ) { u8g.firstPage(); do { Menu_draw_func_men(); } while( u8g....
1
vote
2answers
3k views

Menu with switch case not behaving correctly

I hope this the right place to post this question :) I'm trying to display a menu on a SSD1351 OLED display, to which I communicate with U8glib. I'm trying to obtain an Init screen, then, with a long ...
2
votes
0answers
272 views

Dual OLED displays showing the same image via SPI?

Is it possible to connect two oled displays via SPI to my Uno and send a single image to both displays, with each refreshing at an identical rate? I have gotten a single oled display (SSD1306) to ...
0
votes
1answer
3k views

how to wrap/scroll text with U8G2

Does anyone know how to wrap and or text using the U8G2 Libary? I know there are other libraries that do this for you, but I'd like to use U8G2. Thank you! my code's here for reference. It's not ...
0
votes
2answers
3k views

How should I initialize a RepRap Discount 12864 on u8glib?

I was taking the advantage of an existing piece of hardware (RepRapDiscount Full Graphic Smart Controller) for my present project. Here is a link for the RepRap wiki about the controller #define ...
0
votes
1answer
370 views

Comma between two values in a macro

I am working on a project involving an Aduino and screen. As i was going through the u8glib (Arduino Monochrome Graphics Library for LCDs and OLEDs), something caught my attention: #define ...
1
vote
2answers
7k views

Problems with Draw Loop using u8glib

I am using an Arduino Mega and a 12864ZW LCD with the u8glib library and the following code to draw to the LCD: U8GLIB_ST7920_128X64 Display(LCD_E_PIN, LCD_RW_PIN, LCD_RS_PIN, U8G_PIN_NONE); void ...