SSD1306 INCLUDE for PBP3


Results 1 to 40 of 102

Threaded View

  1. #11
    Join Date
    May 2013
    Location
    australia
    Posts
    2,392


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    I Think a new command is easier
    USERCOMMAND "GLCD_BAR" ;clear/SET area x,y,X1,Y1,COLOUR


    eg

    GLCD_BAR 0,0,var1,3,1 ;draw a horiz bar from 0,0 to var1 . three pixels wide
    GLCD_BAR 0,0,var1,3,0 ;clear a bar from 0,0 to var1 . three pixels wide

    or

    GLCD_BAR 0,0,3,var1,1 ;draw a vert bar from 0,0 to var1 . three pixels wide
    GLCD_BAR 0,0,3,var1,0 ;clear a bar from 0,0 to var1 . three pixels wide


    i don't have anything setup so this is untested, caveat emptor



    ps if GLCD_BAR 0,0,3,var1,1 is not right then
    GLCD_BAR 0,0,3,var1,255 might be needed
    Attached Files Attached Files
    Last edited by richard; - 6th April 2020 at 22:14.
    Warning I'm not a teacher

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