Python API for Codey Rocky¶
This article includes the following python API for Codey Rocky:
- Python API for Codey:refers to some API for Codey Rocky’s onboard driver.
- Python API for Rocky:API on Codey which used for control the Rocky to move or to receive dates send from sensors on Rocky.
- Python API for third-party libraries:some build-in interface for third-party libraries of Codey Rocky, such as mqtt or urequest.
- Python API for extension Neuron modules:API which may used when add Neuron modules to Codey Rocky.
Python API for Codey¶
Python API for Codey includes the following reference tables:
- Python API list for Codey
led— Onboard RGB LEDdisplay— Face Panelspeaker— Onboard Speakersound_sensor— Onboard Sound Sensorlight_sensor— Onboard Light Sensorpotentiometer— Onboard Potentiometerbutton_a— Onboard Button Abutton_b— Onboard Button Bbutton_c— Onboard Button Cmotion_sensor— Onboard Motion Sensorir— Onboard Infrared Transceiverwifi— Onboard Wifibattery— Built-in Lithium Batterycodey_timer— Countercodey_broadcast— Broadcast Modulecodey_external_module_detect— External Module access Detectioncodey_script_control— Script/thread Controlevent— Event Processing Unit
Python API for Rocky¶
Here is the python API for Rocky:
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