This code example will use the ADC module to do an analog read and display on the USART port using a Terminal to see the values.
-
Updated
Jan 18, 2024 - C
This code example will use the ADC module to do an analog read and display on the USART port using a Terminal to see the values.
This example highlights usage of PIC MCU as I/O expander using UART interface. The PIC16F15276 MCU acts as host and is used to control seven segment display. Compatible PIC16F152xx family of MCUs are: PIC16F15244, PIC16F15254, PIC16F15276.
This example uses the MCC Melody Library to show how to configure Timer/Counter A (TCA) in overflow interrupt mode to perform Pulse Width Modulation (PWM) using the AVR128DB48 Curiosity Nano development kit. Works with MPLAB X or MPLAB XPRESS IDE.
This example shows how to configure the Analog-to-Digital Converter (ADC) to trigger a conversion on a specific event. The Timer/Counter type A (TCA) overflow is used to trigger the ADC sample accumulation and ADC result is transmitted through USART.
Add a description, image, and links to the 8-16-bit-timer topic page so that developers can more easily learn about it.
To associate your repository with the 8-16-bit-timer topic, visit your repo's landing page and select "manage topics."