Loading ...
Sorry, an error occurred while loading the content.

337Re: Help on an LED program

Expand Messages
  • peter_chatterton2001
    Feb 3, 2009
    • 0 Attachment
      > import com.ridgesoft.io.LED;
      > public class LED {
      ** change your class name to avoid conflict


      > leftFwdLED = IntelliBrain.getUserLed(1);
      > leftRevLEd = IntelliBrain.getUserLed(2);
      > rightFwdLed = IntelliBrain.getUserLed(3);
      > rightRevLED = IntelliBrain.getUserLed(4);
      ** inconsistent spelling


      > display = IntelliBrain.getLcdDisplay();
      ** where is the display variable?


      also I would suggest using indentation and
      when you upload some source make sure the indents
      stay (look for a code formatting symbol).

      Your problem typically happens with Java.

      Good luck!

      Peter
    • Show all 5 messages in this topic