Frequently Asked Questions

Why don't I get any signals out of Port A?

In the PIC16 series Port A is the analog port connected to the analog to digital converters. You will not be able to output or input data reliably on Port A until you configure it as a digital port. By default this port is configured as analog.

You can configure this port as digital with the following line:

setup_adc_ports(NO_ANALOG);

C-Aware IDE Demo
Embedded C Learners Kit
EZ App Lynx