02-10-2015 01:11 PM
I'm working on a project for a robotics class in which I have a robot that uses a light sensor to follow a line, and two color sensors that detect different colors on the sides of the line. The robot would use the input of the two color sensors to determine a note to play (For example, if it detects purple in one sensor and purple in the second sensor, it will play a C). However, I can't figure out how to make the robot play the note once it detects to color, hold the note until the color changes, then play the next corresponding note. How can i make my robot play a note, hold it until it is no lnoger on the color corresponding to the note, then stop playing the note immediately after moving off of that color, with negligible delay times?
02-10-2015 01:29 PM
more appropriate forum http://forums.ni.com/t5/LabVIEW-for-LEGO-MINDSTORMS-and/bd-p/460
02-10-2015 02:02 PM
oh. my fault, thanks.