Page 1 of 1

PIC Internal DAC output pin

Posted: Tue Jul 12, 2022 11:43 am
by Maverick
Most PIC micros have 1 DAC which has an output on pin A2 which is what the flowcode component is setup for.
the dac output can also be set to output on B7 instead of A2. see attached text from datasheet
is it possible to change the internal dac component to allow selection of A2 or B7 as I use port A as inputs

Re: PIC Internal DAC output pin

Posted: Tue Jul 12, 2022 12:12 pm
by BenR
Hello,

What device are you using and I'll investigate for you.

Re: PIC Internal DAC output pin

Posted: Tue Jul 12, 2022 1:06 pm
by Maverick
Hi Ben

Typically PIC16F1789 OR PIC16F18877

Re: PIC Internal DAC output pin

Posted: Tue Jul 12, 2022 1:14 pm
by Maverick
also pic16F1786, generally it appears to be RB7 as alternate pin

Re: PIC Internal DAC output pin

Posted: Fri Jul 15, 2022 11:06 am
by BenR
Hello,

I've now added the alt DAC pins on the devices you mentioned. Updates should now be available via the library update system.

Please let me know how you get on and if you spot any further devices that need this mod.

Re: PIC Internal DAC output pin

Posted: Fri Oct 07, 2022 9:16 am
by Maverick
Hi Ben

could you add ALT DAC pin RB7 TO DEVICE PIC16F1717 please

Gavin

Re: PIC Internal DAC output pin

Posted: Fri Oct 07, 2022 9:46 am
by BenR
Hi Gavin,

That's been done for you now, thanks for letting us know.