|
I haven't used NQC in like 2 years but if i remeber correctly you should be able to take the value of the sensor and store it in a variable and compare that variable to the current value, if the values are different then you can tell it to do something using an if else statement.
Look around on the net i know that there are some good tutorials out there if you look for them.
Goodluck and sorry i couldn't be more helpful.
__________________
Former 461 Student/Mentor. Former 1272 and 1018 Mentor. Team 1555 Super-Fan.
Science and Engineering Can Open New Doors. --S.E.C.O.N.D.--
=~=!=@= #=$=%=
Co-Founder IndianaFIRST
Share your FIRST photos on Flickr!
|