PortA.0 on the 16F877A (as well as many others) is an analog input by default and as such, will not work with 'digital commands'.
You must change it to a digital input.
This is also true of many PICs with built-in ADC's.
PortA.0 on the 16F877A (as well as many others) is an analog input by default and as such, will not work with 'digital commands'.
You must change it to a digital input.
This is also true of many PICs with built-in ADC's.
Bookmarks