NHD-1.5-128128UGC3 + Beaglebone Black
I'm about to wire up my newly acquired NHD-1.5-128128UGC3 to a Beaglebone Black using 3 or 4-wire serial. Wondering if anyone can point me to any C/C++ code that demonstrates basic initialization and communications under Debian, or any Linux distro for that matter? Or any C/C++ code that could easily be ported to compile under gcc?
Googled a lot on this and having a hard time finding good tutorials. I want to learn and know what I am doing, in what order things have to be done to make it work properly, not just copy-pasting stuff. Found some Arduino code on this website but tbh the code structure and commenting leaves a lot to be desired.
Thanks!
-
Hi Parsec!
I highly recommend you check out this link
http://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog/2014/01/04/bbb--small-oled-graphic-display
Please note the following write up uses the SEPS525 controller (same as our 1.69" Color OLED: NHD-1.69-160128UGC3). You will need to modify the initialization sequence and other various parameters if you would like to use NHD-1.5-128128UGC3.
Hope this helps!0 -
Hi Paul_B,
Thanks, definitely a good starting point! I coincidentally discovered BBB iolib a few hours after posting my question here but wasn't sure if it was usable in this context.
I see in the comments section some guy Paul with a Newhaven display being addressed by the author. Was that perhaps you? Did you have any success in getting it to work in the end?
QuoteYou will need to modify the initialization sequence and other various parameters if you would like to use NHD-1.5-128128UGC3
Any idea where I can find more information about this?0 -
Hi Parsec!
A great place to start is by viewing our example Arduino code:
https://github.com/NewhavenDisplay/NHD-1.5-128128UGC3_Example/blob/master/examples/test/test.ino
You will need to modify the initialization sequence in the BBB iolib to match the NHD-1.5-128128UGC3 parameters.
Be sure to have the NHD-1.5-128128UGC3 example code open and scroll down until you see the "Initialization Start", see lines 1055 - 1106 and modify the appropriate files in iolib
Hope this helps!0
Please sign in to leave a comment.
Comments
3 comments