Data Wires are need to transfer data from one programming block to another. There are five different data types that all values in a program can be represented as: Numeric, Logic, Text, Numeric Array and Logic Array. Using Data Wires this data be shared between multiple blocks and viewed as a program executes.
- [Voiceover] All data in the Mindstorms program…can be one of five different types.…Numeric, logic, text, numeric array, or logic array.…The numeric type represents any number.…The number can be positive or negative,…whole or decimal.…The logic type represents a true or false value.…These are the only two possible values for a logic type.…However, the way each value is shown can differ.…Sometimes words are used,…other times check marks or X's are used.…
However, they all represent the values true or false.…The text type represents a string of text…or sequence of characters.…The text can be a word, a letter, a sequence,…or any combination of characters.…Sometimes text data is represented with quotes around it,…but the quotes themselves are not part of the text.…The quotes help to differentiate…what exactly is the text data.…Only simple text characters can be shown…on the EV3 Bricks display.…
And they're shown here in the Lego Mindstorms Help.…If you use a character not seen here,…the Brick will display a blank space.…
AuthorOlivia Chiu Stone
Learn how to unpack the hardware, connect to the programming interface, run prebuilt programs, and control the motors and sensors. Chapter 6, "Adding Flow to a Program," covers advanced programming topics such as transferring data between blocks, using variables to store temporary data, programming conditional logic, and looping actions to run again and again. By the end of the course, you'll have the skills to bring your own robotic creations to life.
- Installing the LEGO Mindstorms software
- Exploring the programming interface
- Connecting to the EV3 brick
- Downloading and running prebuilt programs
- Coordinating motor movement
- Calibrating the sensors
- Transferring data with data wires
- Adding logic with switch blocks
- Looping actions
- Troubleshooting problems with LEGO Mindstorms
- Broadcasting sounds and displaying images
- Updating LEGO Mindstorms
Skill Level Beginner
1. Getting Started
3. Explore a New Project
4. Connect with the EV3 Brick
5. Program Movement and Sensing
6. Adding Flow to a Program
7. Document Your Work
8. Troubleshoot Problems
9. Extra Tools
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.