I figured out that when I put in another pause my origional problem went away and it didn't matter what order the outputs were set in. Still don't know why though
Also changed the port bits because the others caused a porblem with the programmer left plugged into the x1 board
I need a larger (but stable) capacitor than the 2uf I am using now. The count is so low that I don't get the tolerance I need, each step is about 17.5 ohms and I would like to have about 1.0 ohm resolution if possible. My parts drawers don't have any good choices though.
Code:
TRISB.0 = 0
TRISB.2 = 1
HIGH portb.0
PAUSE 10
LOW portb.1
PAUSE 10
RCTIME portb.1,0,dtime
Bookmarks