EasyManuals Logo

LEGO MINDSTORMS Robots User Manual

LEGO MINDSTORMS Robots
226 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #123 background imageLoading...
Page #123 background image
Table 6-8. Input Type Values
Value Description
0 Raw
1 Touch senso
2 Temperature sensor
(table continued on next page)
Page 132
(table continued from previous page)
Table 6-8. Input Type Values (continued)
Value Description
3 Light sensor
4 Rotation sensor
SENSOR_MODE (mode index -- )
This word sets the mode of the given input. An input's mode determines how the sensor values will be interpreted. The modes are shown in Table 6-9.
Table 6-9. Input Mode Values
Value (hexadecimal) Description
0 Raw sensor value from 0 to 1023
20 Boolean, either 1 or 0
40 Counts transitions from 1 to 0 and vice versa (edge counting)
60 Counts transitions from 1 to 0 (pulse counting)
80 Percent from 0 to 100
A0 Celsius temperature
C0 Fahrenheit temperature
E0 Shaft angle, 16 counts per full revolution
The following example shows how you could configure input 3 for a light sensor:

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the LEGO MINDSTORMS Robots and is the answer not in the manual?

LEGO MINDSTORMS Robots Specifications

General IconGeneral
Product LineLEGO MINDSTORMS
CategoryToy
Age Range10+
Batteries RequiredYes
Memory64 MB RAM, 16 MB Flash
ConnectivityBluetooth, USB
SensorsTouch, Color, Gyro
Battery TypeAA
Interactive FeaturesProgrammable, Remote Control
App CompatibilityiOS, Android
ProcessorARM9
Pieces Count601
Battery Count6
App NameLEGO MINDSTORMS EV3 Programmer App

Related product manuals