I've got a dsPIC (33FJ256GP506) with a microphone input circuitry connected to pin AN0. Also there is audio output circuitry connected to pin OC2/RD1 - thes audio will be output via PWM.
I'm a total beginner at setting the config bits and flags for the ADC and PWM.
What C code would take a sample from the input and send it straight to the output, with particular reference to the config bits?![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I'm a total beginner at setting the config bits and flags for the ADC and PWM.
What C code would take a sample from the input and send it straight to the output, with particular reference to the config bits?