Build HAT
Build HAT documentation and references
- Build HAT
- Library
- ColorSensor
ColorSensor
ColorSensor.callback()
ColorSensor.connected
ColorSensor.desc_for_id()
ColorSensor.description
ColorSensor.deselect()
ColorSensor.get()
ColorSensor.get_ambient_light()
ColorSensor.get_color()
ColorSensor.get_color_hsv()
ColorSensor.get_color_rgbi()
ColorSensor.get_reflected_light()
ColorSensor.interval
ColorSensor.isconnected()
ColorSensor.mode()
ColorSensor.name
ColorSensor.name_for_id()
ColorSensor.off()
ColorSensor.on()
ColorSensor.reverse()
ColorSensor.rgb_to_hsv()
ColorSensor.segment_color()
ColorSensor.select()
ColorSensor.typeid
ColorSensor.typeidcur
ColorSensor.wait_for_new_color()
ColorSensor.wait_until_color()
- Example
- ColorDistanceSensor
ColorDistanceSensor
ColorDistanceSensor.callback()
ColorDistanceSensor.connected
ColorDistanceSensor.desc_for_id()
ColorDistanceSensor.description
ColorDistanceSensor.deselect()
ColorDistanceSensor.get()
ColorDistanceSensor.get_ambient_light()
ColorDistanceSensor.get_color()
ColorDistanceSensor.get_color_rgb()
ColorDistanceSensor.get_distance()
ColorDistanceSensor.get_reflected_light()
ColorDistanceSensor.interval
ColorDistanceSensor.isconnected()
ColorDistanceSensor.mode()
ColorDistanceSensor.name
ColorDistanceSensor.name_for_id()
ColorDistanceSensor.off()
ColorDistanceSensor.on()
ColorDistanceSensor.reverse()
ColorDistanceSensor.rgb_to_hsv()
ColorDistanceSensor.segment_color()
ColorDistanceSensor.select()
ColorDistanceSensor.typeid
ColorDistanceSensor.typeidcur
ColorDistanceSensor.wait_for_new_color()
ColorDistanceSensor.wait_until_color()
- Example
- DistanceSensor
DistanceSensor
DistanceSensor.callback()
DistanceSensor.connected
DistanceSensor.desc_for_id()
DistanceSensor.description
DistanceSensor.deselect()
DistanceSensor.distance
DistanceSensor.eyes()
DistanceSensor.get()
DistanceSensor.get_distance()
DistanceSensor.interval
DistanceSensor.isconnected()
DistanceSensor.mode()
DistanceSensor.name
DistanceSensor.name_for_id()
DistanceSensor.off()
DistanceSensor.on()
DistanceSensor.reverse()
DistanceSensor.select()
DistanceSensor.threshold_distance
DistanceSensor.typeid
DistanceSensor.typeidcur
DistanceSensor.wait_for_in_range()
DistanceSensor.wait_for_out_of_range()
DistanceSensor.when_in_range
DistanceSensor.when_out_of_range
- Example
- ForceSensor
ForceSensor
ForceSensor.callback()
ForceSensor.connected
ForceSensor.desc_for_id()
ForceSensor.description
ForceSensor.deselect()
ForceSensor.get()
ForceSensor.get_force()
ForceSensor.get_peak_force()
ForceSensor.interval
ForceSensor.is_pressed()
ForceSensor.isconnected()
ForceSensor.mode()
ForceSensor.name
ForceSensor.name_for_id()
ForceSensor.off()
ForceSensor.on()
ForceSensor.reverse()
ForceSensor.select()
ForceSensor.threshold_force
ForceSensor.typeid
ForceSensor.typeidcur
ForceSensor.wait_until_pressed()
ForceSensor.wait_until_released()
ForceSensor.when_pressed
ForceSensor.when_released
- Example
- Light
- Matrix
Matrix
Matrix.callback()
Matrix.clear()
Matrix.connected
Matrix.desc_for_id()
Matrix.description
Matrix.deselect()
Matrix.get()
Matrix.interval
Matrix.isconnected()
Matrix.level()
Matrix.mode()
Matrix.name
Matrix.name_for_id()
Matrix.normalize_pixel()
Matrix.off()
Matrix.on()
Matrix.reverse()
Matrix.select()
Matrix.set_pixel()
Matrix.set_pixels()
Matrix.set_transition()
Matrix.strtocolor()
Matrix.typeid
Matrix.typeidcur
Matrix.validate_coordinate()
- Example
- Motion Sensor
MotionSensor
MotionSensor.callback()
MotionSensor.connected
MotionSensor.desc_for_id()
MotionSensor.description
MotionSensor.deselect()
MotionSensor.get()
MotionSensor.get_distance()
MotionSensor.interval
MotionSensor.isconnected()
MotionSensor.mode()
MotionSensor.name
MotionSensor.name_for_id()
MotionSensor.off()
MotionSensor.on()
MotionSensor.reverse()
MotionSensor.select()
MotionSensor.typeid
MotionSensor.typeidcur
- Example
- Motor
Motor
Motor.bias()
Motor.callback()
Motor.coast()
Motor.connected
Motor.desc_for_id()
Motor.description
Motor.deselect()
Motor.float()
Motor.get()
Motor.get_aposition()
Motor.get_position()
Motor.get_speed()
Motor.interval
Motor.isconnected()
Motor.mode()
Motor.name
Motor.name_for_id()
Motor.off()
Motor.on()
Motor.plimit()
Motor.pwm()
Motor.pwmparams()
Motor.release
Motor.reverse()
Motor.run_for_degrees()
Motor.run_for_rotations()
Motor.run_for_seconds()
Motor.run_to_position()
Motor.select()
Motor.set_default_speed()
Motor.set_speed_unit_rpm()
Motor.start()
Motor.stop()
Motor.typeid
Motor.typeidcur
Motor.when_rotated
- Example
- MotorPair
- PassiveMotor
PassiveMotor
PassiveMotor.bias()
PassiveMotor.callback()
PassiveMotor.connected
PassiveMotor.desc_for_id()
PassiveMotor.description
PassiveMotor.deselect()
PassiveMotor.get()
PassiveMotor.interval
PassiveMotor.isconnected()
PassiveMotor.mode()
PassiveMotor.name
PassiveMotor.name_for_id()
PassiveMotor.off()
PassiveMotor.on()
PassiveMotor.plimit()
PassiveMotor.reverse()
PassiveMotor.select()
PassiveMotor.set_default_speed()
PassiveMotor.start()
PassiveMotor.stop()
PassiveMotor.typeid
PassiveMotor.typeidcur
- Example
- Tilt Sensor
TiltSensor
TiltSensor.callback()
TiltSensor.connected
TiltSensor.desc_for_id()
TiltSensor.description
TiltSensor.deselect()
TiltSensor.get()
TiltSensor.get_tilt()
TiltSensor.interval
TiltSensor.isconnected()
TiltSensor.mode()
TiltSensor.name
TiltSensor.name_for_id()
TiltSensor.off()
TiltSensor.on()
TiltSensor.reverse()
TiltSensor.select()
TiltSensor.typeid
TiltSensor.typeidcur
- Example
- Hat
- ColorSensor
- Library
- License information