Miac analogue input problem
Posted: Wed Apr 17, 2013 4:52 pm
Hi, I have a program for the MIAC (Flowcode v 4.5) which reads an analogue value and uses it in a Timer. Read in 0-12V, approx 0-240.
Divide by 10 = 0-24. This value is used in a Delay function to give a delay of 0 to 24 seconds. I've done this before on Pic's and it works well.
Works great is simulation but not on the Miac. Fixed delays work fine so the problem is with the analogue input.
I've put a Macro Test at the start to make debugging simpler.
Any help gratefully received.
Dave.
Divide by 10 = 0-24. This value is used in a Delay function to give a delay of 0 to 24 seconds. I've done this before on Pic's and it works well.
Works great is simulation but not on the Miac. Fixed delays work fine so the problem is with the analogue input.
I've put a Macro Test at the start to make debugging simpler.
Any help gratefully received.
Dave.