Hi all,
I have a simple question but I have tried for days to resolve my issue. All I wish to do is set a pin of my pic18f45k20 high, have a short delay,then set it to go low. I am directly programming a pic18f45k20 chip on a breadboard.
The pin goes to a high state as desired but it never returns low after the delay. I have attached the code. It is so simple but im really confused! It also appears to work in simulation mode, I have also tried more than one pic. Many thanks for help!