Wheel IDE

Online demo »

Sensor multi

This module adds support for connecting a Mindsensors sensor multiplexer to a port. http://www.mindsensors.com/ev3-and-nxt/31-psp-nx-v4-ref-combo-with-wireless-controller This module only reads touch sensor values!

Constants

The sensor multiplexer module.
Source: lib/modules/sensorMulti.whl, line: 12
MODULE_SENSOR_MULTI33

The sensor type for the multiplexer. Setting the type displays the multiplexer in the simulator for the given port.
Source: lib/modules/sensorMulti.whl, line: 15
SENSOR_TYPE_MULTIPLEXER64

Module calls for sensor multiplexer functions.
Source: lib/modules/sensorMulti.whl, line: 18
MODULE_SENSOR_MULTI_SET_WRITE_OFFSET0
MODULE_SENSOR_MULTI_START1
MODULE_SENSOR_MULTI_STOP2
MODULE_SENSOR_MULTI_STOP_ALL3

Procedures

msStart
Source: lib/modules/sensorMulti.whl, line: 30

Start updating touch sensors on the given port.

proc msStart(number port)
Parameters:
NameTypeDescription
portnumber

msStart0
Source: lib/modules/sensorMulti.whl, line: 41

Start updating touch sensors on port 0.

proc msStart0()

msStart1
Source: lib/modules/sensorMulti.whl, line: 48

Start updating touch sensors on port 1.

proc msStart1()

msStart2
Source: lib/modules/sensorMulti.whl, line: 55

Start updating touch sensors on port 2.

proc msStart2()

msStart3
Source: lib/modules/sensorMulti.whl, line: 62

Start updating touch sensors on port 3.

proc msStart3()

msStop
Source: lib/modules/sensorMulti.whl, line: 69

Stop updating touch sensors on the given port.

proc msStop(number port)
Parameters:
NameTypeDescription
portnumber

msStop0
Source: lib/modules/sensorMulti.whl, line: 75

Stop updating touch sensors on port 0.

proc msStop0()

msStop1
Source: lib/modules/sensorMulti.whl, line: 80

Stop updating touch sensors on port 1.

proc msStop1()

msStop2
Source: lib/modules/sensorMulti.whl, line: 85

Stop updating touch sensors on port 2.

proc msStop2()

msStop3
Source: lib/modules/sensorMulti.whl, line: 90

Stop updating touch sensors on port 3.

proc msStop3()