Oled display question

Coding and general discussion relating to the compiler

Moderators: David Barker, Jerry Messina

Post Reply
User avatar
Jason
Posts: 50
Joined: Mon Mar 10, 2008 1:10 pm
Location: Australia

Oled display question

Post by Jason » Wed Nov 28, 2012 6:26 am

Hi Everyone,
I was just looking at an OLED display from NewHavenDisplay, the NHD-2.7-12864UCY3.

I saw that it had a parallel interface version, but the controller is a SSD1325 and I hadn't heard of it before and wondered if any of the GLCD modules for swordfish would work with it. All the control lines look familiar.

http://www.newhavendisplay.com/app_notes/SSD1325.pdf

Thanks in advance.

Jason.

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Wed Nov 28, 2012 8:23 am

Not sure, I think you will need to write another driver for it. Take a look in the "library\glcd" folder for current driver support (check the wiki as well) to see how it is done...

User avatar
Jason
Posts: 50
Joined: Mon Mar 10, 2008 1:10 pm
Location: Australia

Post by Jason » Wed Nov 28, 2012 9:07 am

Thanks David,
OK, I think someone needs to write a swordfish module for some OLED displays, and that someone is going to be me.

I've got a lot of reading to do.

Cheers,

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Wed Nov 28, 2012 9:15 am

> and that someone is going to be me

Cool! Keep us posted...

User avatar
Jason
Posts: 50
Joined: Mon Mar 10, 2008 1:10 pm
Location: Australia

Post by Jason » Tue Dec 04, 2012 2:16 pm

I was beaten to it... Thankfully.

This little screen is exactly what I was looking for, or a 240x320 would have been better, but this is great to start with. And the screens are only $15.00

Perfect to me...

http://digital-diy.com/forum/swordfish- ... tml#p15838

User avatar
RangerBob
Posts: 152
Joined: Thu May 31, 2007 8:52 am
Location: Beds, UK

Post by RangerBob » Tue Dec 04, 2012 5:30 pm

I know its probably a bit late, but have you tried the code I posted here:

http://www.sfcompiler.co.uk/forum/viewt ... t="SSD0323"

5th post down, or search the forum for SSD0323, or you can download it from here.

Having a quick look through your datasheet, it looks like it should work with minimal changes. Note: I have not fully checked it. So don't just trust my opinion!

My version uses the built in GLCD functions (writeat, circle, elipse, square, etc.) rather than having to roll my own. I guess I really should have put it up on the wiki at some point.

Regards

Post Reply