CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

SSD1306 OLED Driver

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
baybars



Joined: 13 Apr 2007
Posts: 8

View user's profile Send private message

SSD1306 OLED Driver
PostPosted: Wed Jun 26, 2013 6:02 am     Reply with quote

Hi,

Anybody have SSD1306 OLED Driver? I want to use it with PIC16F1939.

I have tried to convert Microchip's development boards C18 code to CCS but its very complicated. (link: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en556328)
So many differences and I try to write driver myself.

If somebody have driver for SSD1306, i will be appreciated. Thanks.
oxo



Joined: 13 Nov 2012
Posts: 219
Location: France

View user's profile Send private message

PostPosted: Wed Jun 26, 2013 6:42 am     Reply with quote

http://dangerousprototypes.com/2012/07/23/ssd1306-based-oled-library-for-pic32-and-pic24/
baybars



Joined: 13 Apr 2007
Posts: 8

View user's profile Send private message

PostPosted: Thu Jun 27, 2013 12:45 am     Reply with quote

I have looked it before. It's Hıtech code for orbit16. Orbit16 website requires membership and you can not be member without an invitation. So can't download. Like this its not open source.
MikeW



Joined: 15 Sep 2003
Posts: 184
Location: Warrington UK

View user's profile Send private message

PostPosted: Thu Jun 27, 2013 12:59 am     Reply with quote

I have spent months on and off on this.

I have it partially working on both SPI and I2C.

The big problem is most of the drivers out there (Arduino etc) use a micro (usually Atmel) with more than 1K of ram.

The drivers use the ram as a "shadow", so the graphics stuff just writes to ram, than the buffer ram is simply written page by page (8 of them).

To write to the individual pixels directly is complicated.

At the moment I can write small fonts to the screen, but I am having the usual problems of font array sizes, pointers etc.

I will happily privately send you what I have if you are serious about this, and have the time to dedicate to it.

I am using PIC16F and that's a big problem for ram and pointers.

send me a PM
oxo



Joined: 13 Nov 2012
Posts: 219
Location: France

View user's profile Send private message

PostPosted: Thu Jun 27, 2013 1:34 am     Reply with quote

I have a driver I wrote for the SSD1305 last year on PIC18. I don't know if the ssd1306 is the same.

But, it is my employers copyright and I can't give it to you.

What I can do is help if you run into troubles with your own code.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group