LCD_COMMANDUS define


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,617


    Did you find this post helpful? Yes | No

    Default Re: LCD_COMMANDUS define

    Hi,
    Or you could do the pause "manually", something like:
    Code:
    i VAR BYTE
    
    Main:
      GOSUB LCD_ClearScreen
      LCDOUT["The value of i is: ", DECi]
      i = i + 1
    GOTO Main
    
    LCD_ClearScreen:
      LCDOUT[$FE, 1]  ' Clear Screen
      PauseUs 6500     ' Tweak to match...
    RETURN
    /Henrik.

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: LCD_COMMANDUS define

    I could put a pause after every clear screen command but I don't wan't the code bloat.

    An extra define would be nice I'll ask the pbp developers. Add it to the wish list.

    I quite like the sub routine idea but an addition to the library routine would seem simplest.

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: LCD_COMMANDUS define

    You don't put a pause after every clear screen, you just do it once:

    ClearOLED:
    LCDOUT $FE,$01
    PAUSE 65
    return

    add that to your code once, and just call ClearOLED.

Members who have read this thread : 0

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