for (int index = 0; index < 8; index++) {
for(i=0;i<4;i++)
{
memcpy(packet+1, disp->buffer[index]+i*32, 32);
oled_send(disp, &payload);
}
}
return 0;
}
I had tried the code on my MT7688. But it gave me a surprise!!! The sh1106 could not be displayed normal,but the ssd1306 could be fine. But in the oled.h from the attachement, "#define OLED_SET_PAGE_ADDRESS 0xB0" is there ,and i dont know what happen ,it seems that the "#define OLED_SET_PAGE_ADDRESS 0xB0" did not be useful.
SH1106 128x64 (SSD1306) I2C oled display library
in Advanced users - Development
Posted
I had tried the code on my MT7688. But it gave me a surprise!!! The sh1106 could not be displayed normal,but the ssd1306 could be fine. But in the oled.h from the attachement, "#define OLED_SET_PAGE_ADDRESS 0xB0" is there ,and i dont know what happen ,it seems that the "#define OLED_SET_PAGE_ADDRESS 0xB0" did not be useful.