Search found 2 matches

by jimbobert94
17 Mar 2012, 18:39
Forum: Mindstorms Software
Topic: Bricxcc, NXC, Color Sensor, NXT 2.0
Replies: 16
Views: 17744

Re: Bricxcc, NXC, Color Sensor, NXT 2.0

Yes and thank you for the first advice. Much appreciated! Here is the whole script: //setting turn speed, full speed, and rotate time. #define turn 100 #define full 45 #define angle 400 #define INPUT_BLUECOLOR 2 sub color_check() { //Turn on color sensor in sensor input 3 SetSensorColorFull(IN_3); w...
by jimbobert94
17 Mar 2012, 18:24
Forum: Mindstorms Software
Topic: Bricxcc, NXC, Color Sensor, NXT 2.0
Replies: 16
Views: 17744

Re: Bricxcc, NXC, Color Sensor, NXT 2.0

Hey, James here. When using the switch statement to decide what to do when the color sensor detects blue, it performs the same action over and over, even when I use break. Here is my code and I would appreciate any help: ClearScreen(); switch(Color) { case 2: TextOut(0, LCD_LINE3, "BLUE- Let's ...