16F1827 interrupt hosed


Results 1 to 19 of 19

Threaded View

  1. #17
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: 16F1827 interrupt hosed

    Quote Originally Posted by cncmachineguy View Post
    Darrel are you referring to the pauseus? If so are the rest non system variable things?
    if adcval < 4 and adcval2 < 4 and adcval3 <4 and adcval4 < 4 and adcval5 < 4 then

    That is a compound if statement, meaning there is more than one condition to be tested.
    That requires it to store intermediate results in T? temp variables, which are part of PBP's system vaiables.
    The compares themselves will call a library function that uses R? system vars.

    PAUSEUS will overwrite the R0 system variable.
    PAUSE would use R0 and R1.

    It's very difficult to know which statements will interfere with which system variables.
    So it's best not to tempt fate.
    Last edited by Darrel Taylor; - 20th October 2011 at 04:55.
    DT

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