Search found 1 match

by bbernh13
11 Feb 2013, 10:33
Forum: Mindstorms Software
Topic: NXC: RGB-Colorsensor disturb Soundsensor
Replies: 2
Views: 3496

NXC: RGB-Colorsensor disturb Soundsensor

hi, connect the LEGO soundsensor with the NXT port S1 and the (new) LEGO RGB-Color Sensor with port S2. run this simple program: task main() { string msg; SetSensorSound(IN_1); while(true) { msg="data: "; msg = StrReplace(msg, 6, NumToStr(SENSOR_1)); TextOut(0, LCD_LINE1, msg, false); SetS...