-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with I2c address #1
Comments
Well there are many things can go wrong. Let me try to explain. cheers Baoshi |
Baoshi, Thank you for your detailed reply. Well my screen can work with both 3.3v & 5v, I've tested it on Arduino ( 3.3v ) and it worked perfectly with the U8glib library, and from this library I knew it is the ssd1306 version. One other test that I did is to try another code for lua which works for ssd1306 & it worked directly beside the idea that is it very simple demo but at least I saw something on my screen. I was using the same 2 pins on the lua script. So I guess my screen is fine and no need for resistor or shortening anything? I've tried your code as it is and just modified the pin part and change it to: i2c.c: //! @brief GPIO MUX for SDA pin //! @brief GPIO MUX for SCL pin ssd1306_i2c.c: #define PANEL0_TYPE SSD1306_NONE //! @brief Panel 1 type, define to SSD1306_NONE if not used. and in the init method in the shell file i removed the first screen and only checking ssd1306_init(1) |
Hi, |
Hello, first of all thank you for your work.
I am having issues tho, I have it all compiled and flashed to my ESP but I am not able to show anything on my screen.
I am only using 1 screen which is Chinese SSD1306 version.
http://www.aliexpress.com/item/Free-shipping-1Pcs-128X64-OLED-LCD-LED-Display-Module-For-Arduino-0-96-I2C-IIC-SPI/2036109567.html
I have updated the i2c.c & ssd1306_i2c.c as you mentioned and changed the pins ( I am using pin 2 & 14 )
When I press init i get failed message & by debugging it seems failing in the i2c_write(ctx->address) part as it seems always coming with false.
Do i have to change this address based on my oled? 0x3c, 0x3d, etc
Can you please help me in figuring out this issue.
Thanks.
Sameh
The text was updated successfully, but these errors were encountered: