how to use diffrent mode of color sensor in a while ()loop ?
my situation is showed on youtube :https://www.youtube.com/watch?v=eATF9X7JYyg
I found corlor sensor can be used like that .color-red to follow green line then use color-RGB mode to stop at the black line. can anybody tell me how to code it by Robotc. thx ：)
and can I use robotc to program nxt color sensor like that?