You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems an identical issue to #1750
However I am using an ATMega4808 with MegaCoreX. Could the issue be with u8g2 as the previous person had the same issue with a totally different board?
Example code;
#include <Wire.h>
#include <U8g2lib.h>
#define LED 1
U8G2_SH1106_128X64_NONAME_F_HW_I2C u8g2{U8G2_R0, /* reset=*/ U8X8_PIN_NONE};
void setup() {
pinMode(LED,OUTPUT);
Wire.begin(0x7A); // <---- Without this line, execution stops at u8g2.begin()
u8g2.setI2CAddress(0x7A); // 0x3D
Wire.pins(10,11);
u8g2.begin();
u8g2.clearBuffer(); // clear the diplay
u8g2.setFont(u8g2_font_5x8_mf); // 5x8 pixel font
// Put something on the screen
u8g2.drawStr(10, 10, "TEST"); // Nothing is on the screen :(
u8g2.sendBuffer();
}
void loop() {
digitalWrite(LED,HIGH); // Turn on an LED to show program is running
}
The text was updated successfully, but these errors were encountered:
Seems an identical issue to #1750
However I am using an ATMega4808 with MegaCoreX. Could the issue be with u8g2 as the previous person had the same issue with a totally different board?
Example code;
The text was updated successfully, but these errors were encountered: