olikraus
olikraus
My knowledge on the ESP32 is very limited, but I heard from users, that the watchdog sometimes is an issue. Solution could be to disable watchdog timer: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/hardware-abstraction.html#hw-abstraction-hal-layer-disable-rtc-wdt Not at...
Using the SW_I2C constructor is also a bad idea for performance, better use the HW_I2C constructor (might require to use the I2C pins of your board) In fact the inclusion...
You mean the enable/disable chip select wire connection? This "chip select" (CS) line is only required for SPI, but not for I2C. With SPI, the CS wire is used to...
> PS : how to use Hardware i2c HW_I2C . I just connected SDA pin to A4 and SCL pin to A5 and used U8G2_ST7588_JLX12864_1_HW_I2C u8g2(U8G2_R0p instead but It doesn't...
Looking at the initial code, there is a read from undef'ed memory problem, do this instead: ``` C++ #include #include #include const int clk=13; const int data=11; const int reset=8;...
> but there is'nt enough mem of course and it's impossible to compile. Sorry, i'm not used to work with arduinos. Which raspberry? It should have enough memory. In general:...
> How many ohms ? 10K is often used here. > I try to understand how you designed your driver for arduino Ah, ok, sure. In general U8g2 has been...
> SDL and SDA GPIO's were not input in the constructor Yes, because the SDL/SDA pins are defined by your hardware. So you probably need to check your board/hardware/Arduino description...
> I used pins 11 and 13 for SW. I understood I could used the same pins for HW. But I should use A4 and A5 instead. And the pull-up...
> but the screen freezes after a while (< 5s) Maybe there is some watchdog active...