I did not notice in the first post that you are using the internal OSC. Sometimes it is not stable enough.
Try sending something to the terminal from the PIC with out the senor as a trigger.
press a button
send a serial string
I did not notice in the first post that you are using the internal OSC. Sometimes it is not stable enough.
Try sending something to the terminal from the PIC with out the senor as a trigger.
press a button
send a serial string
Dave
Always wear safety glasses while programming.
Bookmarks