PI16F324 PortA
Posted: Mon Jun 20, 2022 8:42 pm
Hello,
I am having some trouble with PortA inputs on the PIC16F15324 part.
Attached is a simple program that turns an LED on when the push button is pressed.
The LED turns off when the button is released. This program simulates fine inside of flowcode.
However the program does not run in real hardware. After some playing around a bit I found that the problem was PortA.
When the button is connected to PortA,5 the program simulates fine but does not run in hardware.
When the button is connected to PortC,5 everything works fine.
Any thoughts are appreciated.
Thanks
I am having some trouble with PortA inputs on the PIC16F15324 part.
Attached is a simple program that turns an LED on when the push button is pressed.
The LED turns off when the button is released. This program simulates fine inside of flowcode.
However the program does not run in real hardware. After some playing around a bit I found that the problem was PortA.
When the button is connected to PortA,5 the program simulates fine but does not run in hardware.
When the button is connected to PortC,5 everything works fine.
Any thoughts are appreciated.
Thanks