PIC32MM ADC

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 7.

Moderator: Benj

Post Reply
MelvinA
Posts: 1
Joined: Fri May 11, 2018 12:59 pm
Contact:

PIC32MM ADC

Post by MelvinA »

Hello. Can you please help with the ADC on a PIC32MM. Any getbyte, getint or getvoltage component makro is not working.
The program stops there. I downloaded the sample / demo program called ADCByte.fcfx. This program runs fine on 8-bit devices like the PIC18F4620.

I have been able to run other sample project on the PIC32MM just fine

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: PIC32MM ADC

Post by Benj »

Hello,

Thanks for letting us know. I have had a look and think I may have found the problem.

Firstly please can you update the PIC32MM definition files. The archive below needs to be extracted into the "Flowcode 7/FCD/PIC32" folder overwriting the files there.
PIC32.zip
(47.95 KiB) Downloaded 160 times
Next you also need to copy the file below into your "Flowcode 7/CAL/PIC32" folder.
PIC32BIT_CAL_ADC.c
(16.64 KiB) Downloaded 176 times
Restart Flowcode if you have it open and hopefully the ADC will now work as expected.

Let us know how you get on.

Post Reply