In this application, the PIC16F18875 is used to generate the PWM signal to control a DC motor. The duty cycle of the PWM is controlled using on-board potentiometer. The potentiometer is read using the ADCC in Low Pass Filter mode (noise filtering).
This repository provides a bare-metal code example for using TMR0 in 8-bit Mode with Periodic Interrupt. TMR0 will generate a compare interrupt every 100 ms, using LFINTOSC as clock source. A GPIO pin is toggled each time an interrupt occurs.
Internal High-Frequency Oscillator Calibration Using the Auto-Tune Feature
Generating PWM Signals Using TCD with High-Frequency Input on AVR128DA48
This repository provides a MCC-generated code example for using TMR0 in 8-bit Mode with Periodic Interrupt. TMR0 will generate a compare interrupt every 100 ms, using LFINTOSC as clock source. A GPIO pin is toggled each time an interrupt occurs.
This repository provides a bare-metal code example for using TMR0 in 16-bit Mode with sleep operation. An interrupt will wake up the device every 10s and LED0 will light up for 100 ms and then the MCU will be put back to sleep.
This is a demo code is to provide support for the Curiosity High Pin Count (HPC) development board using the PIC18F47Q43.
This repository provides a MCC-generated code example for using TMR0 in 8-bit Mode with clock output. A signal will be generated using TMR0 on the output RC2 pin.
This is a demo code is to provide support for the Curiosity High Pin Count (HPC) development board using the PIC18F47Q10.
This is a demo code is to provide support for the Curiosity Low Pin Count (LPC) development board using the PIC16F18446.
This example demonstrates the configuration of Doze, Idle and Sleep power down modes in PIC18F47Q10 MCU, to achieve low power consumption.
This repository provides a MCC-generated code example for using TMR0 in 16-bit Mode with sleep operation. An interrupt will wake up the device every 10s and LED0 will light up for 100 ms and then the MCU will be put back to sleep.
This repository provides a bare-metal code example for using TMR0 in 8-bit Mode with clock output. A signal will be generated using TMR0 on the output RC2 pin.
Using ZCD to implement special functions on AVR128DA48
AVR128DA48 I2C Send Receive Example
This is a demo code for Q43 devices that uses CIPs to perform audio recording and playback operations.
MCC generated code for i2c read and write operations with interrupts.