Declared in LEConnectInfo.h

LEIOType

Represent the type of an attached IO (motor, sensor, etc).

Definition

typedef NS_ENUM(uint8_t, LEIOType ) {
   LEIOTypeMotor = 1,
   LEIOTypeVoltage = 20,
   LEIOTypeCurrent = 21,
   LEIOTypePiezoTone = 22,
   LEIOTypeRGBLight = 23,
   LEIOTypeTiltSensor = 34,
   LEIOTypeMotionSensor = 35,
   LEIOTypeGeneric,
};

Constants

LEIOTypeMotor

A Motor - use the LEMotor to communicate with this type of IO

Declared In LEConnectInfo.h.

LEIOTypeVoltage

A Voltage Sensor - use the LEVoltageSensor to communicate with this type of IO

Declared In LEConnectInfo.h.

LEIOTypeCurrent

A Current Sensor - use the LECurrentSensor to communicate with this type of IO

Declared In LEConnectInfo.h.

LEIOTypePiezoTone

A Piezo Tone player - use the LEPiezoTonePlayer to communicate with this type of IO

Declared In LEConnectInfo.h.

LEIOTypeRGBLight

An RGB light - use the LERGBLight to communicate with this type of IO

Declared In LEConnectInfo.h.

LEIOTypeTiltSensor

A Tilt Sensor - use the LETiltSensor to communicate with this type of IO

Declared In LEConnectInfo.h.

LEIOTypeMotionSensor

A Motion Sensor (aka. Detect Sensor) - use the LEMotionSensor to communicate with this type of IO

Declared In LEConnectInfo.h.

LEIOTypeGeneric

A type unknown to the SDK - use the LEGenericService to communicate with this type of IO.

Declared In LEConnectInfo.h.

Declared In

LEConnectInfo.h