Today 12:18
Forum: Absolute Beginners Section
Starter: Mr Anderson
Views: 45
Replies: 3
Yesterday 23:28
Forum: The Lounge
Starter: John Lawton
Views: 64
Replies: 2
Yesterday 21:53
Forum: LCD module
Starter: starwars
Views: 142
Replies: 6
+ Reply to Thread
Results 1 to 9 of 9

Thread: SSD1306 OLED driver some extensions53 days old

  1. #1
    Junior Member Dompie's Avatar
    Join Date
    Apr 2012
    Posts
    16
    Thumbs Up
    Received: 2
    Given: 5
    Total Downloaded
    196.71 MB

    0 Not allowed!

    Default SSD1306 OLED driver some extensions

    I have played with the SSD1306 Library and it works very well. Thanks!
    I have added some new SSD1306 controller commands to the library and wrote a little help text. I only added some new commands and changed nothing in the existing library.
    In the enclosed file you find all the stuff from Ray Ellam, plus a new demo_v0.3.bas, the library SSD1306_24.11.2016.inc and the help text.
    I tested the new functions with a 18F26K22 64Mhz with external and internal oscillator.
    Perhaps somebody who is using the current library can test the new commands. When there are no bugs in the new parts, Ray Ellam could possible update the WiKi.


    Johan

    <Edit> added commands: SSD1306_Contrast SSD1306_DisplayOn SSD1306_DisplayOff SSD1306_DisplayInverse SSD1306_DisplayNormal </Edit>
    Attached Files Attached Files
    Last edited by Dompie; 24th November 2016 at 18:16.

  2. #2
    Junior Member Matt_C's Avatar
    Join Date
    Dec 2007
    Posts
    32
    Thumbs Up
    Received: 0
    Given: 0
    Total Downloaded
    165.11 MB

    0 Not allowed!

    Default Re: SSD1306 OLED driver some extensions

    Hi

    This works great and thanks to all that developed and shared the information/code. I haven't used these displays before so I can't comment on original code vs new mods.

    My question may be a bit simple and/or repetitive but it's regarding the fonts. I know there are several PC based programs that can generate fonts but I would really like to know what one was used to create the fonts used in this project?



    Thanks

    Matt.

  3. #3
    Junior Member Maxi's Avatar
    Join Date
    Mar 2010
    Posts
    68
    Thumbs Up
    Received: 0
    Given: 7
    Total Downloaded
    788.08 MB

    0 Not allowed!

    Default Re: SSD1306 OLED driver some extensions

    hi, thanks your code
    how can we prepare different font files?

  4. #4
    Junior Member Dompie's Avatar
    Join Date
    Apr 2012
    Posts
    16
    Thumbs Up
    Received: 2
    Given: 5
    Total Downloaded
    196.71 MB

    0 Not allowed!

    Default Re: SSD1306 OLED driver some extensions

    I haven't looked at the font files. The function was already in the library. A font file consists of 1 word and 5 bytes font description data and then the font data itself (see SelectFont in the library). I know in the Arduino world are font file utilities but if they fit our font files, I don't know. Perhaps some other forum member has the knowledge.

    Johan

  5. #5
    Junior Member Maxi's Avatar
    Join Date
    Mar 2010
    Posts
    68
    Thumbs Up
    Received: 0
    Given: 7
    Total Downloaded
    788.08 MB

    0 Not allowed!

    Default Re: SSD1306 OLED driver some extensions

    Hi, I found this wonderfull font creater webtool (thank you Mr. Daniel Eichhorn)
    http://oleddisplay.squix.ch/#/home

    someone convert this font output to ours?

  6. #6
    Developer Les's Avatar
    Join Date
    Feb 2002
    Posts
    2,867
    Thumbs Up
    Received: 157
    Given: 52
    Total Downloaded
    592.22 MB

    0 Not allowed!

    Default Re: SSD1306 OLED driver some extensions

    I dislike online applications so much, as it relies on everyone having an internet connection 24 hours a day. I also don't trust online apps that need a file uploaded to them so they can convert etc..... We have no idea what they are doing with all the info!!!!!!!!! Whatever happened to apps sitting on the computer? The internet should, IMO, be something that is sometimes used, not mandatory!!!

    The samples for the Proton24 ILI9320 graphic LCD library use fonts created by the program here:

    Proton Font creator

    It is an adaptation of Dave's font creator.

    Once the font is created, it will reside in the clipboard and can be pasted into the editor.

    I was going to create a library for standard Proton to use these fonts, but time got in the way and I ran out of it. LOL.
    If a user wants to alter the libraries to use this font table, then please do, and we will be most grateful.
    Last edited by Les; 5th January 2017 at 15:26.
    For more example programs for Proton and Proton24 or updates, please visit: Proton WIKI or Proton Files

  7. #7
    Junior Member Maxi's Avatar
    Join Date
    Mar 2010
    Posts
    68
    Thumbs Up
    Received: 0
    Given: 7
    Total Downloaded
    788.08 MB

    0 Not allowed!

    Default Re: SSD1306 OLED driver some extensions

    @les thank you this is very good font creator (and dave ofcourse)
    but sorry about my english maybe I cant well understand
    Can I use it for ssd1306 lcd? I dont use

  8. #8
    Developer Les's Avatar
    Join Date
    Feb 2002
    Posts
    2,867
    Thumbs Up
    Received: 157
    Given: 52
    Total Downloaded
    592.22 MB

    0 Not allowed!

    Default Re: SSD1306 OLED driver some extensions

    There's always the one that was created for Proton many years ago:

    FontCreator

    The library that goes with the code for the ILI9325 uses the fonts created by the FontCreator. There is also a Wiki entry for the use of the code.:

    ILI9325 Wiki

    The SSD code does not seem to use either of these fonts, but it will be very straightforward to change it to suite the font data.
    For more example programs for Proton and Proton24 or updates, please visit: Proton WIKI or Proton Files

  9. #9
    Junior Member starwars's Avatar
    Join Date
    Feb 2016
    Posts
    24
    Thumbs Up
    Received: 0
    Given: 17
    Total Downloaded
    0

    0 Not allowed!

    Default Re: SSD1306 OLED driver some extensions

    Hi
    Is there a way to run this code to use RB1 and RB2? The other pins are already in use.

    Thank you.

    Harry

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Help With OLED Display / 128X64 SSD1306
    By Denner in forum LCD module
    Replies: 69
    Last Post: 8th January 2017, 01:00
  2. SSD1306 OLED driver problem with 64Mhz 18F26K22
    By Dompie in forum WIKI Discussion
    Replies: 2
    Last Post: 14th November 2016, 10:08
  3. Help With OLED Display / 128X64 SSD1306
    By basparky in forum Proton 24
    Replies: 3
    Last Post: 23rd August 2016, 17:57
  4. Thermocouple Extensions?
    By GregZ in forum Proton Plus Compiler v3
    Replies: 21
    Last Post: 18th June 2007, 15:31

Members who have read this thread since 16th January 2017, 05:45 : 1

Actions :  (Set Date)  (Clear Date)

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts