4 ADCC with Context Switching Triggered by APM

This code is generated using MCC Melody and demonstrates the capabilities of the ADCC with Context Switching and APM. The ADCC with Context Switching peripheral periodically performs a conversion when the APM triggers it. The conversion result is displayed on a bar meter interface on the OLED display. The Analog Peripheral Manager Status Register (APMSTATUS) is also checked and displayed on the OLED display. A POT 3 Click Board is used as an analog input for the ADCC with Context Switching peripheral.

  • Setup:
    • PIC18F56Q71 Curiosity Nano board
    • Curiosity Nano Adapter
    • MikroElectronica OLED Click
    • MikroElectronica POT 3 Click