Hi,
OK, so you're saying that it works in the simulator but not in the real world? Or does it not work in the simularor either?
What do YOU think might be the problem and what have YOU tried in order to figure it out?
Have you:
A) Checked the datasheet to see if there's anything specific with PortB.3?
B) Tried another pin, just as an experiment, to see if the logic of the code works?
C) Connect a LED to PortB.3 and write code to turn that on and off so you KNOW that the pin actually works and is configured properly
D) Disconnect the external logic and measured on the pin directly.
E) Anything else?
Let me know what you've tried and what the results are.
Bookmarks