Page 1 of 1

Write value

Posted: Sun Nov 30, 2014 7:15 pm
by josem-mp
Dear,

I'm doing a small project and I need to read an analog input and record the value in a variable.
After this recorded value I need to compare it with the analog input after a while.

Could someone tell me how.

Thank you

Re: Write value

Posted: Mon Dec 01, 2014 1:11 pm
by DavidA
Hello,

Reading a variable from an analogue input is fairly straightforward.

Check this section of the online Flowcode course on how to do inputs:

http://www.flowcode.co.uk/courses/itm/in ... italInputs

Re: Write value

Posted: Mon Dec 01, 2014 6:44 pm
by josem-mp
Dear David,

I have no trouble reading the analog input.
I need to store the read value in the analog input and save it.
this value can not be cleared by removing the feeding.
I need to read the value that is stored when feeding back.

Thanks

Re: Write value

Posted: Wed Dec 03, 2014 1:27 pm
by jgu1
Hi Josem!

I don“t know if it this you mean. But I have tryed to make a simple program wich can store and read a value when you want, and even save it in an EEprom.

Maybe you can use it or something of it. I have not tested it "realworld" but it Work in simulation.

Good luck :D

Jorgen

Re: Write value

Posted: Wed Dec 03, 2014 6:48 pm
by josem-mp
Ok,

Thanks