Search Results - MEL PICBASIC Forum


Search:

Type: Posts; User: flotulopex; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. SSD1306 OLED (72x40) I2C display from scratch

    Well, I think I'm just gonna remember this settings "as is".

    Thanks for trying to make things more clear for me :wink:
  2. Re: SSD1306 OLED (42x40) I2C display from scratch

    Yes, I agree, this is definitively the hardest part to get it work.

    Richard, how did you come to this $68 value please? I can't figure it out :confused:

    9514



    '======= SSD1306 I2C OLED...
  3. SSD1306 OLED (72x40) I2C display from scratch

    Richard,

    You're absolutely right about the useless register settings I mention in my code.

    Most of them, if not all, just reflect their default state as per datasheet.

    This is because I use...
  4. SSD1306 OLED (72x40) I2C display from scratch - scrolling text

    Just for fun, scrolling text example :wink:

    9511
  5. SSD1306 OLED (72x40) I2C display from scratch

    Richard, can you point me the direction to do this?

    Should I use some kind of algorithm where repetitive numbers could be stored differently or find a way to make better use of the 14 bits word...
  6. SSD1306 OLED (72x40) I2C display from scratch

    Here is a simple code to get started with this 72x40 display.

    I also include the SSD1306 command and display's datasheets.

    Since I use EXCEL to design characters, here's the sheet you may want...
  7. SSD1306 OLED (72x40) I2C display from scratch

    Okay, found!

    9502
  8. SSD1306 OLED (72x40) I2C display from scratch

    Right, so you are talking about using data in a more efficient way using the vertical display mode as described in figure 10-4, correct?

    9500
  9. SSD1306 OLED (72x40) I2C display from scratch

    Richard,

    I'm still trying to understand your previous post but just for now, there's a question burning my mind: how do I address the display pixel by pixel?
  10. Re: SSD1306 OLED (42x40) I2C display from scratch

    ...credits are all for Richard :wink:
  11. Re: SSD1306 OLED (72x40) I2C display from scratch

    First look at what it could look like :)

    9495
  12. Re: SSD1306 OLED (42x40) I2C display from scratch

    Thank you so much Richard!!!

    I'll give it a try to create a super big font.

    Let you know for any progress in the next days :wink:
  13. Re: SSD1306 OLED (42x40) I2C display from scratch

    Maybe this will work....
    https://drive.google.com/file/d/1Ud4e7x9zEtmkAiGH5nL2YTRGvx_cVtMm/view?usp=sharing
  14. Re: SSD1306 OLED (42x40) I2C display from scratch

    Sorry for that.

    How do I post a small video then?
  15. SSD1306 OLED (72x40) I2C display from scratch

    I also adjusted your code as:

    ' ====== PROGRAM ================================================== =================================
    GOSUB CLEAR_LCD

    MAIN:
    '7x5 "A"
    X = 28 : Y = 0 :...
  16. SSD1306 OLED (72x40) I2C display from scratch

    These few changes will fill the whole screen in white.


    ' ====== CLEAR LCD ================================================== ===============================
    CLEAR_LCD:
    COM = $21 : GOSUB...
  17. SSD1306 OLED (72x40) I2C display from scratch

    Thanks Richard.

    This it looks now, with your code ni post #26.



    https://drive.google.com/file/d/1Ud4e7x9zEtmkAiGH5nL2YTRGvx_cVtMm/view?usp=drive_link
  18. Re: SSD1306 OLED (72x40) I2C display from scratch

    Absolutely!

    With this "untouched" code, I get this display:
    9491

    Then, with the new value of $67, here is what I get:
    9492
  19. SSD1306 OLED (72x40) I2C display from scratch

    BTW, the number of pixels displayed is 50x20

    9490
  20. SSD1306 OLED (72x40) I2C display from scratch

    Voilą.

    As no caracter would display, I changed the fill caracter in the CLEAR routine to make someting visible.

    9489


    ' ====== CLEAR LCD...
  21. Re: SSD1306 OLED (42x40) I2C display from scratch

    Thanks a lot Richard.

    I'll give it a try asap :smile:
  22. SSD1306 OLED (72x40) I2C display from scratch

    Thanks a lot Richard.

    The fog lifts somehow a little bit....

    I'll give it a try with y 18F 👍
  23. SSD1306 OLED (72x40) I2C display from scratch

    It's definitively a 72x40 pixel display.

    Thanks Richard for pointing to all changes (and tips) I can/should make in the code :wink:

    Now, regarding the way to display data, I still don't get it;...
  24. SSD1306 OLED (72x40) I2C display from scratch

    Up to now, I couldn't find any pixel map for the 72x40 display so I'm relying on information for the 128x64 one.

    This is the information I have found in the 72x40 datasheet:
    9481

    Can anybody...
  25. Re: SSD1306 OLED (42x40) I2C display from scratch

    ...still struggeling with the ssd1306's datasheet to understand the "page" concept and how to display things.

    This is the simplest and shortest code I'm working with for now, composed of...
Results 1 to 25 of 32
Page 1 of 2 1 2