Trouble with LCD 2x8 and sequential display of values


Closed Thread
Results 1 to 31 of 31

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240


    Did you find this post helpful? Yes | No

    Default Re: Trouble with LCD 2x8 and sequential display of values

    I copied your code, and i can not see that error, however, instead of the;

    Code:
    @ INT_DISABLE   TMR1_INT
    
     '1 wire stuff
    
    @ INT_ENABLE   TMR1_INT
    try this;

    Code:
        T1CON.0 = 0                   ; Turn OFF Timer1
    
     '1 wire stuff
    
        T1CON.0 = 1                   ; Turn ON Timer1
    Thanks and Regards;
    Gadelhas

  2. #2
    Join Date
    Dec 2008
    Location
    Ploiesti, ROMANIA
    Posts
    582


    Did you find this post helpful? Yes | No

    Default Re: Trouble with LCD 2x8 and sequential display of values

    I tried this way, but...the timer stop counting (so, I can't display 5 sec. IN and 5 sec. OUT) and the reading of sensor(s) it's not continous....like in my "original" code ...
    I want to read permanent the sensors (for sensing the variation of temperatures) and display the temperature, 5 seconds from first sensor, the next 5 seconds from second sensor, so on, so on ....
    Otherwise I can write the code like this :
    " display temperature 1
    pause 5000
    display temperature 2
    pause 5000
    goto loop "
    which is not a good option ...

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