SSD1306 Inverse screen example?


+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2005
    Location
    West Australia
    Posts
    116

    Default SSD1306 Inverse screen example?

    Hi All,

    I see Richard's Include posts thread has been closed, hence my starting a new one on the subject.

    Can anyone offer an example of Inverting sections (or the screen) for this handy LCD? The Include also mentions "Flip display vertically" so any insight how to do this would be a bonus.

    Thanks and regards,
    Bill

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


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 Inverse screen example?

    hi bill
    not really sure what a "closed thread" means to us forum users, if it can't be added to then that seems a shame

    the short answer is you wont find any examples because is can't be done with a pic16 for a number of reasons;
    namely the display has no data read back function with i2c i/f.
    a pic 16 cannot support an array large enough for a frame buffer .

    you could invert a characters font data but not fit it in a nice neat box, the box would always wind up exactly the vertical size of the chr
    and that looks crappy. there is no good way around that that i can think of

    this does all that and more but is pic18 only
    https://www.picbasic.co.uk/forum/sho...lays-with-PBP3
    post#82 has latest ssd1306 code
    Warning I'm not a teacher

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    3,807


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 Inverse screen example?

    Quote Originally Posted by wjsmarine View Post
    Hi All,

    I see Richard's Include posts thread has been closed...
    Hi Bill.

    Please post the link of the thread you see as closed.

    Ioannis

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,389


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 Inverse screen example?

    Please post the link of the thread you see as closed.
    i see it too as closed

    https://www.picbasic.co.uk/forum/sho...CLUDE-for-PBP3
    Warning I'm not a teacher

  5. #5
    Join Date
    Jun 2005
    Location
    West Australia
    Posts
    116


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 Inverse screen example?

    Thanks Richard,

    Apart from that shortcoming, it works brilliantly with a PIC16.

    My main aim was to maximise capabilities of the screen and secondly to gain attention to the observer as an alarm condition. I achieved the attention part by flashing the whole screen using:

    if UVflag = 1 then ' Undervoltage.
    gosub glcd_init ' Located in ssd1306_I2C.INC
    pause 200
    endif

    and it works well whenever the flag is set, you've done a good job.

    Thanks and regards,
    Bill

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,389


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 Inverse screen example?

    to invert entire display
    SSDC $A7
    to restore it USE
    SSDC $A6


    I was thinking

    Name:  biLL.jpg
Views: 81
Size:  46.3 KB
    Warning I'm not a teacher

Similar Threads

  1. SSD1306 INCLUDE for PBP3
    By richard in forum PBP3
    Replies: 101
    Last Post: - 23rd February 2024, 18:47
  2. About 0.96" 128x64 SSD1306
    By cesar35 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th January 2022, 13:10
  3. SSD1306 Include example
    By timc in forum Code Examples
    Replies: 11
    Last Post: - 28th November 2017, 08:53
  4. ARCOS (inverse cosine)
    By mjphillips1981 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th October 2009, 16:53
  5. Inverse of COS
    By uuq1 in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th June 2005, 04:17

Members who have read this thread : 13

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