- :-

Topics Covered

  • Displaying Data on your EV3
  • Display Blocks
  • Wiring Display Blocks
  • Modifying Display Blocks
  • Updating Data on Display Blocks
  • Lesson Links

    Check Your Understanding:
    1. 1. Without the Loop, turning the wheel had no effect on the displayed number because...
    2. The Rotation Sensor freezes when attached to a Display Block
      Turning the motor by hand does not change the Rotation Sensor value
      They were wired incorrectly
      The Rotation Sensor and Display Blocks were only run once, so they never had a chance to read a new value or put it on the screen
    Try It!
    Try it! 1

    Display Touch Sensor

    What happens if you try to display a Touch Sensor Value? Try it!
    What happens?
    Attaching a Touch Senor output to the Display will give a 0 when the Touch Sensor is in the Released state, and a 1 when it is in the Pressed state.
    Try it! 2

    Display Color Sensor

    What does the Color Sensor display for a Red object? Try it!
    What happens?
    It displays the color code for Red, which is 5.
    Try it! 3

    Display Position

    What happens if you change the X and Y values on the Display Block? Try it!
    What happens?
    The position that the text is displayed on the screen changes. Higher X values are farther to the right, and higher Y values are higher up on the screen.
    Text displaying with
    X = 0, and Y = 0
    Text displaying with
    X = 21, and Y = 58
    Mini Challenge

    Mini Challenge 1: Multiple Display

    You can display multiple pieces of information on the screen at the same time, if you:

    1. Choose different X and Y coordinates so they don't overwrite each other
    2. Uncheck the Clear Setting () on the Display Blocks so they do not erase each other each time they run

    Make the robot display values that look like this:

    Utilize Text > Pixel mode for the Display Blocks to generate text like "Rotation B:"

    Make sure all Display Blocks have Clear Setting () unchecked for all display blocks, except the first Display Block. The first Display Block needs to clear whatever was on EV3 screen before the program starts.

    Is the text too big? The text size can be changed by adjusting the Font ( ) value.

    + hint