In choosing the appropriate microcontroller for a specific application, it is necessary to select one which includes all the needed peripherals. It is also essential to know how to integrate these peripherals to meet the desired output requirements.
The PIC16F7X and PIC16C7X families are both 8-bit mid-range microcontrollers. The PIC16F7X family is a Flash device, while the PIC16C7X family is a one-time-programming (OTP) device. Two code examples are presented in this application note
covering the Analog-to-Digital Converter (ADC), Timer2, Capture/Compare/PWM (CCP) and the Universal Synchronous Asynchronous Receiver Transmitter (USART), for both the PIC16F7X and PIC16C7X families.
This application note covers three main subjects:
Also provided are calculations, data, Hardware schematic and source code in C and assembly.