Grafic-SSD1306 OLED a new version


+ Reply to Thread
Results 1 to 10 of 10

Thread: Grafic-SSD1306 OLED a new version908 days old

  1. #1
    Member Dompie's Avatar
    Join Date
    Apr 2012
    Posts
    133
    Thumbs Up
    Received: 16
    Given: 14
    Total Downloaded
    5.19 GB

    5 Not allowed!

    Default Grafic-SSD1306 OLED a new version

    I have written a new version of the SSD1306 library. The reasons:
    - The use of Proton_FontConverter.exe so I am free to use the font I need
    - Splitting the graphical part from the hardware part, so with a new display I only need to change the hardware part
    - There were some problems/errors which must be repaired.

    What are the changes:
    - Only fonts generated with Proton_FontConverter.exe are accepted
    - The DrawLine and DrawCircle (FillCircle) routines are “borrowed” from Les Johnson his ILI9325.inc
    - The calling method is changed to preprocessor directives so parenthesis are always required
    - Instead of one Include you need four, SSD1306_Def, Graphic_Def, SSD1306_Sub and Graphic_Sub

    The graphic routines lexit the graphic library via Grahic_DrawPixel routine which calls the entry routine in the hardware library named Graphic_Plot. When you want to write your own display (hardware) library, you start with Graphic_Plot and implement your own hardware.

    The large font definitions use much memory so when you only want numbers there is an overhead. For this waste I have made a Excell spreadsheet which use the Proton_FontConverter result as input and output only images for the +,-./0123456789: characters. All the other characters are zero byte wide and will not displayed.
    (Les could you make a checkmark in Proton_FontConverter.exe for this output? That is much better than my solution)

    Enclosed in the zip is demo_v0.4.bas which I have tested on a 18F26K22. The result video can you find here:


    Johan

  2. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  3. #2
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,858
    Thumbs Up
    Received: 90
    Given: 34
    Total Downloaded
    4.60 GB

    0 Not allowed!

    Default Re: Grafic-SSD1306 OLED a new version

    Hello Dompie, would you please make a WIKI article about this?
    The info is too valuable to get lost in the forum.
    John

  4. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  5. #3
    Prolific Poster charliecoultas's Avatar
    Join Date
    Sep 2010
    Posts
    1,396
    Thumbs Up
    Received: 48
    Given: 39
    Total Downloaded
    3.45 GB

    0 Not allowed!

    Default Re: Grafic-SSD1306 OLED a new version

    That's good work Dompie. I'd love to see an article about it.

    Charlie

  6. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  7. #4
    Member Dompie's Avatar
    Join Date
    Apr 2012
    Posts
    133
    Thumbs Up
    Received: 16
    Given: 14
    Total Downloaded
    5.19 GB

    0 Not allowed!

    Default Re: Grafic-SSD1306 OLED a new version

    OK articles are not my hobby but I will make a WIKI article. But give me some time. And John, when I am ready could you translate my English WIKI article in a real English one?

    FORGOTTEN: The new software also supports the 32x128 SSD1306 OLED display. Uncomment the $define SSD1306_DisplayHalf in "demo_v0.4.bas" and the display is working.


    Oh yes, the ZIP file could be downloaded from the User Files area in the Downloadsection: http://www.protonbasic.co.uk/vbdownloads.php?do=download&downloadid=419

    J
    ohan



    Edit: the preview function makes a mesh of the reply
    Last edited by Dompie; 8th October 2017 at 15:11.

  8. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  9. #5
    Prolific Poster John Drew's Avatar
    Join Date
    Feb 2002
    Posts
    2,858
    Thumbs Up
    Received: 90
    Given: 34
    Total Downloaded
    4.60 GB

    0 Not allowed!

    Default Re: Grafic-SSD1306 OLED a new version

    I would be happy to do as you ask Johan.
    Even your post in the forum would be fine to get me started. The article doesn't need to be long or complicated.
    John

  10. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  11. #6
    Member
    Join Date
    Oct 2006
    Posts
    218
    Thumbs Up
    Received: 9
    Given: 20
    Total Downloaded
    751.86 MB

    0 Not allowed!

    Default Re: Grafic-SSD1306 OLED a new version

    Great Job! have you already seen the full color version? (SSD1332)

  12. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  13. #7
    Member Dompie's Avatar
    Join Date
    Apr 2012
    Posts
    133
    Thumbs Up
    Received: 16
    Given: 14
    Total Downloaded
    5.19 GB

    0 Not allowed!

    Default Re: Grafic-SSD1306 OLED a new version

    Only on the internet I saw the full color version. But I don't know of such a small display needs color? I don't have an application for it (ehhhh playing with a new toy hmmmm)

  14. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  15. #8
    Junior Member
    Join Date
    Mar 2010
    Posts
    93
    Thumbs Up
    Received: 1
    Given: 25
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Grafic-SSD1306 OLED a new version

    have any body proteus library for SSD1306?

  16. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  17. #9
    Prolific Poster
    Join Date
    Mar 2012
    Posts
    2,314
    Thumbs Up
    Received: 80
    Given: 182
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Grafic-SSD1306 OLED a new version

    Proteus 8 has this device.
    George.

  18. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  19. #10
    Junior Member
    Join Date
    Mar 2010
    Posts
    93
    Thumbs Up
    Received: 1
    Given: 25
    Total Downloaded
    5.30 GB

    0 Not allowed!

    Default Re: Grafic-SSD1306 OLED a new version

    I have 8.4 SP0 and ssd1306 screen does not work
    when I look internet, I see different ssd1306 lcd on the pictures

  20. Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

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 basparky in forum Proton 24
    Replies: 27
    Last Post: 16th March 2019, 17:36
  2. Graphic-SH1106 OLED and SSD1306 OLED
    By Dompie in forum LCD module
    Replies: 0
    Last Post: 18th October 2017, 15:30
  3. Dompie has just uploaded Graphic-SSD1306 OLED a new version!
    By Dompie in forum Proton Users File Server
    Replies: 0
    Last Post: 7th October 2017, 18:58
  4. SSD1306 OLED driver some extensions
    By Dompie in forum WIKI Discussion
    Replies: 8
    Last Post: 12th January 2017, 21:45

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