SSD1306 INCLUDE for PBP3


Results 1 to 40 of 102

Threaded View

  1. #27
    Join Date
    May 2013
    Location
    australia
    Posts
    2,645


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    henrik
    there is a great probability i never tested it to any great extent , was just happy that it cleared to whole screen at a default setting

    this works for one line as i intended things to [you need to work around the limited size of the data buffer glcd_buff]

    Code:
    gx=5:gx_=32:gy=0:gy_=0  ;  clear from x=5 for 32 bits one line 
    gosub setxy
    j=0
    for i=0 to gx_
    glcd_buff[i]=0   ;by default the buffer is 32 bytes so be wary
    next
    glcd_rad=gx_
    gosub ssd_data
    two lines
    Code:
    gx=5:gx_=32:gy=0:gy_=1
    gosub setxy
    j=0
    for i=0 to gx_
    glcd_buff[i]=0
    next
    glcd_rad=gx_
    gosub ssd_data
    gosub ssd_data
    you may be able to figure out why the command fails , i'm just not seeing it at the present time
    Last edited by richard; - 14th March 2021 at 00:56.
    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 : 7

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