bazzabhoy / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

OLED SSD1306 I2C AVRStudio 4.18 Atmega328p #337

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I read all issues dealing with SSD1306 OLED display, but I cannot run it

What is the expected output? What do you see instead?
Something on the display :(
Please upload the working example code for u8glib 1.17

What version of the product are you using? On what operating system?
u8glib 1.17  - AVRStudio 4.18 -Windows 7

Please provide any additional information below.
I checked the display address and it is 0x3C, so the connection is right

Original issue reported on code.google.com by pedro35....@gmail.com on 19 Apr 2015 at 8:59

GoogleCodeExporter commented 8 years ago
many problems could be there. Is your HW correct? How does your code look like. 
Are all pin/ports assigned correctly?

Original comment by olikr...@gmail.com on 19 Apr 2015 at 10:47

GoogleCodeExporter commented 8 years ago
Dear,
thank you very much for your prompt response. I have checked the display by 
Arduino I2C scanner and got reply of address 0x3c . But I prefer to work with 
AVRStudio.
To get you information about my setting please find enclosed the MSWord file.
Thank you for your time and efford.
Best regards
Peter

Original comment by pedro35....@gmail.com on 19 Apr 2015 at 1:17

Attachments:

GoogleCodeExporter commented 8 years ago
i have a linux system. i can not read .docx

Original comment by olikr...@gmail.com on 19 Apr 2015 at 5:39

GoogleCodeExporter commented 8 years ago
Ups, so here is the PDF

Original comment by pedro35....@gmail.com on 19 Apr 2015 at 7:17

Attachments:

GoogleCodeExporter commented 8 years ago
hmmm... i have not checked the c code for a whole. The port setting is not 
required, maybe you can comment out the u8g_SetPin command.

Everything else looks fine. Can you measure activity on the I2C pins?

Oliver

Original comment by olikr...@gmail.com on 21 Apr 2015 at 6:21

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Dear Oliver,
please find enclosed the signals on the pins.

Original comment by pedro35....@gmail.com on 22 Apr 2015 at 4:51

Attachments:

GoogleCodeExporter commented 8 years ago
Finally it works, I bought a new one and run it on 3.3V. 
Thank you for help and excellent library.

Original comment by pedro35....@gmail.com on 29 Apr 2015 at 4:24

GoogleCodeExporter commented 8 years ago
Good to read this. Thanks for the feedback.

Original comment by olikr...@gmail.com on 1 May 2015 at 7:16