an erased chip is all nop's
a program not in a closed loop will execute all the remaining nop's till it hits the end of pgm memory, it then wraps back to location 0000 ie looks like a reset
Here is another question:
Anyone have a working link to find DT_Analog.PBP ?
Been searching, but no luck - - lots of links that no longer work
The settings are the way they are because that code is from a much larger piece of code. I am utilizing 23 I/O pins, so those are the settings for those pins.
Since the larger portion of code was...
just noticed the wend fell off
while 1 ; loop forever
since you have
CONFIG PBADEN = OFF ; PORTB<5:0> pins are configured as digital I/O on Reset
;Reset: probably not a good name for a label
OSCCON = %01010000 ...
OK, I've been on here for hours trying to research the information, but can't find exactly what I'm looking for. Even exhausted my efforts on Google, the manual and Datasheet (for what...
I am grateful to you and all moderators and members to have shared the vast knowledge by this remarkably useful and accurate forum. Thanks for all you do.
This thread predates my membership here by a year or two, and I had never seen it. Thanks Dave for this delicious tidbit and thanks to Vett58 for resurfacing it. BTW, it works a treat!
Thank you for sharing . Your post did help me. Thanks
Just a thought. I did something like this for a LDR to act as a motion detector. It should work for a switch.
checkswitch var bit
compare var bit
clear 'bits are 0
low portb.0 'output pin off
There is no content in this section