Changing LCD display refresh rate


Results 1 to 11 of 11

Threaded View

  1. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: Changing LCD display refresh rate

    Code:
    lp:
    
    ADCON0.1=%1 
    WHILE ADCON0.1=%1:WEND
    
    ' Store ADC results 
    isense.HIGHBYTE=ADRESH 
    isense.LOWBYTE=ADRESL
    
    ' Security fault verifications
    IF isense**40000>imax THEN flt=1
    
    I = I+1    ; insert @top " I var Byte " 
    IF I = 1 THEN  ; also can use IF I // 200 = 1 ... and adjust "200" to the desired rate
    
    ' LCD
    idisp=isense**40000
    lcdout $fe,$c0,$1,$20,"1 ISENS: ",DEC idisp DIG 2,DEC idisp DIG 1,".",DEC idisp DIG 0,"A"
    
    ENDIF
    
    
    goto lp
    Last edited by Acetronics2; - 3rd November 2011 at 19:46.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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