Closed brycedjohnson closed 6 years ago
@brycedjohnson is that log from the one that works or from the one that doesn't?
@fiam: The one that doesn't work.
@brycedjohnson Try with the code I've just pushed, please. I added a log message indicating whether Raven detects the OLED. If it says it doesn't detect it, edit main/ui/screen_i2c.c
and change:
#define SCREEN_I2C_MASTER_FREQ_HZ 1800000
To
#define SCREEN_I2C_MASTER_FREQ_HZ 1000000
Let me know if that fixes the problem.
I actually tried switching that to
#define SCREEN_I2C_MASTER_FREQ_HZ 100000
(one less 0 than yours) yesterday, but I just tried
#define SCREEN_I2C_MASTER_FREQ_HZ 1000000
and #define SCREEN_I2C_MASTER_FREQ_HZ 1800000
At all 3 of those speeds I got
I (823) UI: Screen detected
but nothing on the screen.
I know probably a pain because all these vendors are using slightly different parts and layouts. I had noticed when I was looking into this ttgo v2 that had a different pinout from the others as well! (I don't have v2 though)
I also have this issue, with the RX file the oled is working but if i flash the same modula with the TX file the screen is not working. Is there already a solution?
I have two 915 modules that the OLED doesn't work after flashing from stock. The Arduino OLED_LoRa_Sender project works with with the OLED which use the same pins as raven (4, 15, 16 and i2c address of 0x3c). On my other 2 modules of a different brand - the Oled does work.
Brand that OLED works: