SSD1306 INCLUDE for PBP3


+ Reply to Thread
Results 1 to 40 of 102

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    That gets me closer, in the sense I figured it needed specified somewhere! But it doesn't correctly display the image. I have reverted back to non-edited include files. Thoughts? Thank you for your assistance!!!

    Name:  20240221_190246.jpg
Views: 126
Size:  454.3 KB
    Shawn

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,393


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    ah! the bmps are in a different format the byte are now laid out horizontally
    i also discovered the dmp code upsets the font height [did have a shared variable]
    i used lcdassistant to generate bmps

    some files to play with

    Name:  borris.jpg
Views: 136
Size:  20.5 KB
    Attached Files Attached Files
    Warning I'm not a teacher

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,393


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    glcd tools also works well in generating bmp's
    and formats the data nicely
    Name:  glt.jpg
Views: 149
Size:  168.0 KB
    Warning I'm not a teacher

  4. #4
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    The only version of GLCD Tools I can find is 0.2. I have been using LCD Assistant, but I'm having mixed results. Do you have a link to download GLCD Tools 1.5?

    This attached file has a few BMP's in it, the Logo64 opens successfully, except it takes 5+ seconds to display each image after the screen clear... The other 2 (StallIcon and OneIcon) both don't load and results in a bricked display until power cycle. I have tried other's and can't get them to open.
    These were created with LCD Assistant set to horizontal and formatted appropriately.

    I'm not sure the reason for the failed images to display,

    I'm not sure the reason for the really slow load times to display the images

    The SSD1306 driver this thread was created for loads images with excellent performance.
    Attached Files Attached Files
    Shawn

  5. #5
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    I resolved the slow load times by commenting out the debug lines in the sbmp subroutine.
    Shawn

  6. #6
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    I have found if I revise the first byte of the bitmap to = 0x00 instead of the value it should be, the image will display. Obviously missing the first 8 pixels worth of data though...
    Shawn

  7. #7
    Join Date
    Apr 2007
    Location
    Pennsylvania, USA
    Posts
    158


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    I have everything working, but using the SSDBM version for bitmap. This obviously required modifying the include files, but everything seems to be getting along.

    I can share the modified files, but won't if you prefer as to prevent confusion. If you find a fix for the DMDBMP version, I'm sure it is a better solution.

    Thanks for your work on this Richard!
    Shawn

Similar Threads

  1. SSD1306 Include example
    By timc in forum Code Examples
    Replies: 11
    Last Post: - 28th November 2017, 08:53
  2. SSD1306 start display problem
    By harryweb in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 14th December 2016, 19:16
  3. Using INCLUDE to add a text file in PBP3
    By Sumobob in forum PBP3
    Replies: 4
    Last Post: - 16th May 2016, 18:56
  4. PBP3 to include 18F97J94?
    By fowardbias in forum PBP3
    Replies: 1
    Last Post: - 18th December 2013, 16:42
  5. Help With OLED Display / 128X64 SSD1306
    By Denner in forum General
    Replies: 6
    Last Post: - 25th May 2013, 15:40

Members who have read this thread : 22

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

Posting Permissions

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