This example [part1] shows how to set up Direct Memory Access (DMA) using the Microchip Code Configurator (MCC) on a PIC18F57Q43 microcontroller to transfer an ADC result to the UART transmit buffer, where the transfer is triggered directly by a TMR.
最近更新: 5年多前Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse and toggle combined mode.
最近更新: 5年多前Getting Started with Timers/Counters on PIC18. The TMR1 is configured as a counter.
最近更新: 5年多前Getting Started with Timers/Counters on PIC18. The TMR1 is configured in gate single pulse mode.
最近更新: 5年多前Using 10-bit DAC for Generating Analog Signals on AVR-DA
最近更新: 5年多前This example [part2] shows how to set up Direct Memory Access (DMA) using the Microchip Code Configurator (MCC) on a PIC18F57Q43 microcontroller to transfer data from the UART recieve buffer to the PWM duty cycle register to alter the brightness of an LED. The data transfer is triggered by the UART module when the Rx buffer register is full.
最近更新: 5年多前Foundation Services generated code for i2c read and write operations with interrupts.
最近更新: 5年多前Bare metal code for i2c write operation.
最近更新: 5年多前The PIC16F18875 features Signal Measurement Timer. This project demonstrates a DC motor speed control in closed loop, using PI algorithm and a potentiometer as a reference.
最近更新: 5年多前