Open GoogleCodeExporter opened 9 years ago
thanks, i will have a look at it.
Original comment by olikr...@gmail.com
on 28 Sep 2014 at 4:41
Maybe i should buy such kind of displays with a SSD1305 controller.
For example:
http://www.buydisplay.com/default/2-4-inch-oled-module-128x64-graphic-display-pr
ice-arduino-green-on-black
Original comment by olikr...@gmail.com
on 13 Dec 2014 at 5:17
I have also since added the contrast functionality on to this driver. It works
great! I did remove the (>> 1) to allow for full 0-255 range. What was the
reasoning behind this being there?
Technically there is a "brightness" setting in the SSD1305 as well, but I have
only had luck with adjustments to that during the first initialization, it
doesn't seem to work well during operation. I don't know why.
If you would like a patch, or files, let me know, I can send them. Also,
although the original init string I sent works great, I have made some more
changes since.
Original comment by sh...@xnote.com
on 13 Dec 2014 at 11:56
I wanted the contrast function to be identical throughout all controllers. So
the user contrast value is always from 0 .. 255. Maybe the SSD1306 only has 7
bit for the contrast.
It you could add the latest version of your modified c files, this would be
nice.
Thanks!
Original comment by olikr...@gmail.com
on 14 Dec 2014 at 8:20
[deleted comment]
The SSD1306 did not have contrast control enabled, although it appears that
chip supports contrast. (Maybe this should be added!?) I stole the contrast
code from the SSD1325 files, removed the (>> 1), and added it to the SSD1305
file I have created. It works great!
There are a few other changes inside this file as well, but one line of
importance is 202. The SSD1305 native resolution is 132x32, and the line 202
change was necessary for proper operation on a 128x32 display.
I am using this code very successful on a Raspberry Pi, with porting help from
a good friend who has also been posting on issue 171.
Original comment by sh...@xnote.com
on 14 Dec 2014 at 9:19
Attachments:
Thanks for the contribution.
I probably need to buy such a display for proper testing first.
Original comment by olikr...@gmail.com
on 14 Dec 2014 at 10:21
Original issue reported on code.google.com by
sh...@xnote.com
on 28 Sep 2014 at 1:02Attachments: