SSD1306 INCLUDE for PBP3


Results 1 to 40 of 102

Threaded View

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


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    I also got the two Label after column 1 warnings (GLCDS_BAR_?CCBWC) etc but it turns out that there's a whitespace infront of those two macro labels on the include file. There was also an ELSE in column 1 causing another warning.

    i had a look at the org file i posted and it has the same errors, i always have trouble with white space


    also found 2017 version where the glcd_clrxy routine was ok, so i must have broken it when i added the bar stuff



    this is better
    Code:
    glcd_clrxy:    ' clear area  x1y1 to x2 y2   
       FOR GRX = 0 TO 31
            glcd_buff[GRX] = glcdData
        NEXT
        CTEMP = (1 + GX_ - GX)*(1 + GY_ -  GY)
        gosub   setxy
        glcd_rad=32
        GRX = CTEMP/32
        while grx
            gosub ssd_data
            grx=grx-1
        wend
        glcd_rad = CTEMP//32
        IF glcd_rad  THEN
            gosub ssd_data
        ENDIF
    return
    Attached Files Attached Files
    Last edited by richard; - 14th March 2021 at 12:54.
    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 : 23

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