Python API for Haloboard¶
This article includes the following python API for Haloboard:
- Python API for Haloboard:refers to some API for Haloboard’s onboard driver.
- Python API for third-party libraries:some build-in interface for third-party libraries of Haloboard, such as mqtt or urequest.
- Python API for extension Neuron modules:API which may used when add Neuron modules to Haloboard.
Python API for Haloboard¶
Python API for Haloboard includes the following reference tables:
- The python interface class for the haloboard
- Broadcast’s interface list
- Driver’s interface list
button
— Onboard Buttonclock
— Onboard Baseboard Clockled
— Onboard RGB LEDmotion_sensor
— Onboard Motion Sensortouchpad0
— Touch Button0touchpad0
— Touch Button1touchpad0
— Touch Button2touchpad0
— Touch Button3vibration_motor
— Vibration Motormicrophone
— Onboard Microphonespeaker
— Onboard Speaker
- Event’s interface list
- Cloud message interface list
- Pin’s interface list
- Speech recognition interface list
- Timer’s interface list
- Wifi’s interface list
Python API for third-party library¶
Here is the python API for third-party library:
Python API for extension Neuron modules¶
Here is the python API for extension Neuron modules:
- Python API List for Neuron Extension Modules
dc_motor_driver
— Dual DC Motor Driverservo_driver
— Dual Servo Driverled_strip
— LED Strip Driverled_panel
— RGB LED Panelbuzzer
— Buzzerbutton
— Buttonfunny_touch
— Funny Touchultrasonic_sensor
— Ultrasonic Sensorgyro_sensor
— Gyro Sensorpir_sensor
— PIR Sensorsoil_moisture
— Soil Moisture