EV3SensAdapt: this class provides functions for EV3 Sensor Adapter and EV3 Sensor Multiplexor from mindsensors.com for read and write operations.
More...
|
def | __init__ |
| Initialize the class with the i2c address of your Dist-Nx. More...
|
|
def | setMode |
|
def | getMode |
|
def | isTouchedEV3 |
| Reads the status of the EV3 Touch Sensor on the EV3SensorAdapter or EV3SensorMux. More...
|
|
def | numTouchesEV3 |
|
def | resetTouchesEV3 |
|
def | distanceIREV3 |
|
def | headingIREV3 |
|
def | distanceRemoteIREV3 |
|
def | remoteLeft |
|
def | remoteRight |
|
def | distanceUSEV3 |
|
def | distanceUSEV3in |
|
def | presenceUSEV3 |
|
def | gyroAngleEV3 |
|
def | gyroRateEV3 |
|
def | reflectedLightSensorEV3 |
|
def | ambientLightSensorEV3 |
|
def | colorSensorEV3 |
|
EV3SensAdapt: this class provides functions for EV3 Sensor Adapter and EV3 Sensor Multiplexor from mindsensors.com for read and write operations.
Initialize the class with the i2c address of your Dist-Nx.
- Parameters
-
self | The object pointer. |
ev3SensAdapt_address | Address of your Dist-Nx. |
def mindsensors.EV3SensAdapt.isTouchedEV3 |
( |
|
self | ) |
|
Reads the status of the EV3 Touch Sensor on the EV3SensorAdapter or EV3SensorMux.
- Parameters
-
int mindsensors.EV3SensAdapt.DATA1 = 0x54 |
|
static |
Data Register 1.
Will return byte value corresponding to the connected sensor data
int mindsensors.EV3SensAdapt.DATA2 = 0x55 |
|
static |
Data Register 2.
Will return byte value corresponding to the connected sensor data (depending on sensor and mode)
int mindsensors.EV3SensAdapt.DATA3 = 0x56 |
|
static |
Data Register 3.
Will return byte value corresponding to the connected sensor data (depending on sensor and mode)
int mindsensors.EV3SensAdapt.DATA4 = 0x57 |
|
static |
Data Register 4.
Will return byte value corresponding to the connected sensor data (depending on sensor and mode)
int mindsensors.EV3SensAdapt.DATA5 = 0x58 |
|
static |
Data Register 5.
Will return byte value corresponding to the connected sensor data (only on infrared sensor)
int mindsensors.EV3SensAdapt.DATA6 = 0x59 |
|
static |
Data Register 6.
Will return byte value corresponding to the connected sensor data (only on infrared sensor)
int mindsensors.EV3SensAdapt.DATA7 = 0x5A |
|
static |
Data Register 7.
Will return byte value corresponding to the connected sensor data (only on infrared sensor)
int mindsensors.EV3SensAdapt.DATA8 = 0x5B |
|
static |
Data Register 8.
Will return byte value corresponding to the connected sensor data (only on infrared sensor)
The documentation for this class was generated from the following file:
- PiStorms/sys/mindsensors.py