MIAC and analog input

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

Moderators: Benj, Mods

Post Reply
mimiyum
Posts: 94
Joined: Wed Jul 16, 2008 4:39 pm
Location: Philippines
Been thanked: 1 time
Contact:

MIAC and analog input

Post by mimiyum »

I downloaded your sample DVMx4 program for the MIAC. Then connected a potentiometer on I1 and connected wires from the potentiometer to the MIAC's +V and 0V.

The MIAC LED lights (dims and brightens) but the LCD screen readout still says 0V. I know I'm supposed to get voltage readings. Is there something I'm missing here?

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: MIAC and analog input

Post by Benj »

Hello

You may have a slightly out of date component code file for the MIAC. Please can you try pasting the attached file into your Flowcode V3/Components directory and restart Flowcode. Your program should then compile and run on the device correctly.
Attachments
MIAC_Code.c
(11.71 KiB) Downloaded 259 times

mimiyum
Posts: 94
Joined: Wed Jul 16, 2008 4:39 pm
Location: Philippines
Been thanked: 1 time
Contact:

Re: MIAC and analog input

Post by mimiyum »

Yehey! It works! :mrgreen:

Post Reply