- :-

Topics Covered

  • VEX IQ LCD Screen
  • DisplayTextLine Command
  • Lesson Links

    Check Your Understanding:
    1. 1. True / False: ROBOTC gives the user the ability to draw shapes, lines and text to the LCD screen.
    2. True
      False
    3. 2. True / False: The displayTextLine command in ROBOTC has two parameters.
    4. True
      False
    5. 3. When display text to the LCD screen, the text has to be written in this:
    6. Quotation marks
      Parenthesis
      A pair of curly braces
    7. 4. If the user wants to display a decimal number on the LCD screen, which of the following format specifiers should they use?
    8. %t
      %d
      %c
      %f
    Try It!
    Try it! 1

    Display Debugging Values

    Display the debugging values to the LCD.

    Use the command "displayMotorValue" and "displaySensorValue" to have the robot display its current reading value.



    Try it!
    Did You Know?

    Did you know?

    ROBOTC Debugging Techniques
    Displaying Values to LCD - Mini Challenge

    Mini Challenge 1: Find the Area Challenge

    The robot must travel around either a square or a rectangle.

    While doing so, the robot should record the length and the width.

    Next, the robot will take those values and use them to calculate and display on the robot’s LCD screen the area.
    • Recreate the table below on any surface. Have the robot travel around the square or rectangle and calculate the area of that shape.

    Mini Challenge PDF[ Find the Area Challenge.pdf ]