olikraus:
Thanks, looks indeed strange.Can you post the code for your Helloworld? Especially: Which font did you use? Somehow I does not look like the default HelloWorld.ino.
One more question: Can you post a picture of the u8g2logo example with the ALT0 constructor?
Oliver
The u8g2logo:
Here is the code:
#include <Arduino.h>
#include <U8x8lib.h>
#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
#endif
//U8X8_SSD1306_128X64_NONAME_HW_I2C u8x8(/* reset=/ U8X8_PIN_NONE);
U8X8_SSD1306_128X64_ALT0_HW_I2C u8x8(/ reset=*/ U8X8_PIN_NONE); // same as the NONAME variant, but may solve the "every 2nd line skipped" problem
void setup(void)
{
/* U8g2 Project: SSD1306 Test Board */
//pinMode(10, OUTPUT);
//pinMode(9, OUTPUT);
//digitalWrite(10, 0);
//digitalWrite(9, 0);
/* U8g2 Project: KS0108 Test Board */
//pinMode(16, OUTPUT);
//digitalWrite(16, 0);
u8x8.begin();
u8x8.setPowerSave(0);
}
void loop(void)
{
u8x8.setFont(u8x8_font_chroma48medium8_r);
u8x8.drawString(0,0,"Hello World!");
u8x8.refreshDisplay(); // only required for SSD1606/7
delay(2000);
}
