Hi All; I am working with a project where the output changes with respect to frequency and duty cycle, and I would also like to modify the outputs in such a way to vary the amplitude of these signals (ideally with no external crcuitry).
Hi All; I am working with a project where the output changes with respect to frequency and duty cycle,
and I would also like to modify the outputs in such a way to vary the amplitude of these signals (ideally with no external crcuitry).
There is no way to change the amplitude of a PIC output bit without external circuitry. The bits are digital and you are asking for analog. It is possible to combine several PIC bits and create a simple DAC using resistors. Wikipedia
**broken link removed**
**broken link removed**Or you could use a digital pot like the ones sold by Microchip as one leg of a voltage divider.