SSD1306 INCLUDE for PBP3


Results 1 to 40 of 102

Threaded View

  1. #10


    Did you find this post helpful? Yes | No

    Default Re: SSD1306 INCLUDE for PBP3

    I tried it, and it works for drawing smooth line from variable 0 to 120 for example, but if the value decreasing from 120 to 0 then I'm not able to clean the line without clearing the whole display and it causes flickering.
    Why I need that? I'm trying to make a voltmeter with bargraph.
    Here are the code snipet:
    Code:
    gosub glcd_init
    GLCD_CLR
    
    do
    for n=0 to 120 step 1
    GLCDDHL 0,0,n,1
    next n
    
    for n=120 to 0 step -1
    GLCD_CLR
    GLCDDHL 0,0,n,1
    next n
    loop
    It would be good to have variable option in all options like:
    Code:
    GLCDDHL  var1,0,var2,0
    GLCDDVL  var1,0,var2,0
    GLCD_CLR var1,0,var2,0
    It's that possible?
    Last edited by louislouis; - 6th April 2020 at 16:26.

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