bgolab
bgolab
The code I used for init: u8g_InitComFn(&u8g, &u8g_dev_sh1106_128x64_i2c, u8g_com_hw_i2c_fn); And directly after executing this line the dots appear.
Hi, Thank you for your comment. I switched to the nucleo-F411 board and I do not see the issue anymore. Probably it was hardware issue as the previously tested board...
I use very simple code: u8g_SetFont(&u8g,u8g_font_fur11); //set current font u8g_DrawStr(&u8g, 2, 12, "Hello!"); //write string - you set coordinates and string u8g_DrawBox(&u8g, 30, 30, 35, 35); //draw some box Everything...
The dots in the right last column are displayed after the init. Sometimes some random dots are displayed also in the next column as well (to the left from the...
Tested also the u8g_dev_ssd1306_128x64_i2c driver - no change.
It seems that column 0 and 1 is not displayed (wrote simple program displaying pixel and x coordinate). The last columns are out of control (the content is random). It...
Is u8g2 better if it comes to handling the sh1106?
The last column I can draw a pixel is 126. The 127th cannot be displayed.
I missed something: -when I select the sh1106 the picture is somewhat messy( garbled with pixel noise) -when I select ssd1306 the picture CANNOT show column 0 and 1 and...
I modified the ssd1306 driver as follow: static const uint8_t u8g_dev_ssd1306_128x64_data_start[] PROGMEM = { U8G_ESC_ADR(0), /* instruction mode */ U8G_ESC_CS(1), /* enable chip */ 0x010, /* set upper 4 bit...