feat(boards): 所有micropython esp板卡加入 PE GX 类别

This commit is contained in:
王立帮
2026-01-13 15:09:06 +08:00
parent 583b82452a
commit a5fa5034f9
20 changed files with 1059 additions and 394 deletions

View File

@@ -1356,20 +1356,20 @@
<!--<category
id="catOnBoard" name="catOnBoard" colour="65">-->
<category id="catOnBoardSensor" name="catOnBoardSensor" colour="#947C54"
m-hide='micropython:esp32c3:generic'>
<block type="sensor_mixgo_button_is_pressed" m-hide='micropython:esp32c3:mixgocar_c3'>
m-hide='generic'>
<block type="sensor_mixgo_button_is_pressed" m-hide='mixgocar_c3'>
<value name="btn">
<shadow type="pins_button">
</shadow>
</value>
</block>
<block type="sensor_mixgo_button_was_pressed" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mixgo_button_was_pressed" m-hide='mixgocar_c3'>
<value name="btn">
<shadow type="pins_button">
</shadow>
</value>
</block>
<block type="sensor_mixgo_button_get_presses" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mixgo_button_get_presses" m-hide='mixgocar_c3'>
<value name="btn">
<shadow type="pins_button">
</shadow>
@@ -1380,7 +1380,7 @@
</shadow>
</value>
</block>
<block type="sensor_mixgo_button_attachInterrupt" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mixgo_button_attachInterrupt" m-hide='mixgocar_c3'>
<value name="btn">
<shadow type="pins_buttonB">
</shadow>
@@ -1391,17 +1391,17 @@
</shadow>
</value>
</block>
<block type="sensor_mixgocar42_button_is_pressed" m-show='micropython:esp32c3:mixgocar_c3'></block>
<block type="sensor_mixgocar42_button_was_pressed" m-show='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mixgocar42_button_is_pressed" m-show='mixgocar_c3'></block>
<block type="sensor_mixgocar42_button_was_pressed" m-show='mixgocar_c3'>
</block>
<block type="sensor_mixgocar42_button_get_presses" m-show='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mixgocar42_button_get_presses" m-show='mixgocar_c3'>
<value name="VAR">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
</block>
<block type="sensor_mixgocar42_button_attachInterrupt" m-show='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mixgocar42_button_attachInterrupt" m-show='mixgocar_c3'>
<value name="DO">
<shadow type="factory_block_return">
<field name="VALUE">attachInterrupt_func</field>
@@ -1417,34 +1417,34 @@
<block type="controls_pass"></block>
</statement>
</block>
<block type="sensor_mixgocar_pin_near_line" m-show='micropython:esp32c3:mixgocar_c3'></block>
<block type="sensor_mixgocar_pin_near" m-show='micropython:esp32c3:mixgocar_c3'></block>
<block type="sensor_mixgocar_pin_near_state_change" m-show='micropython:esp32c3:mixgocar_c3'></block>
<block type="sensor_mixgocar_battery_left" m-show='micropython:esp32c3:mixgocar_c3'></block>
<block type="sensor_mixgo_pin_near_single" m-hide='micropython:esp32c3:mixgocar_c3'></block>
<block type="sensor_LTR308" m-hide='micropython:esp32c3:mixgocar_c3'></block>
<block type="sensor_sound" m-hide='micropython:esp32c3:mixgocar_c3'></block>
<block type="sensor_mixgocar_pin_near_line" m-show='mixgocar_c3'></block>
<block type="sensor_mixgocar_pin_near" m-show='mixgocar_c3'></block>
<block type="sensor_mixgocar_pin_near_state_change" m-show='mixgocar_c3'></block>
<block type="sensor_mixgocar_battery_left" m-show='mixgocar_c3'></block>
<block type="sensor_mixgo_pin_near_single" m-hide='mixgocar_c3'></block>
<block type="sensor_LTR308" m-hide='mixgocar_c3'></block>
<block type="sensor_sound" m-hide='mixgocar_c3'></block>
<!-- MixGo Me Onboard_sensor: -->
<block type="sensor_mixgome_temperature" m-show='micropython:esp32c3:mixgo_me'></block>
<block type="sensor_hp203" m-show='micropython:esp32c3:mixgo_cc'></block>
<block type="sensor_aht11" m-show='micropython:esp32c3:mixgo_cc'></block>
<block type="sensor_get_acceleration" m-hide='micropython:esp32c3:mixgocar_c3'></block>
<block type="sensor_mixgome_temperature" m-show='mixgo_me'></block>
<block type="sensor_hp203" m-show='mixgo_cc'></block>
<block type="sensor_aht11" m-show='mixgo_cc'></block>
<block type="sensor_get_acceleration" m-hide='mixgocar_c3'></block>
<block type="sensor_mixgo_cc_mmc5603_calibrate_compass"
m-show="micropython:esp32c3:mixgo_cc micropython:esp32c3:mixgo_me"></block>
m-show="mixgo_cc mixgo_me"></block>
<block type="sensor_mixgo_cc_mmc5603_get_magnetic"
m-show="micropython:esp32c3:mixgo_cc micropython:esp32c3:mixgo_me"></block>
m-show="mixgo_cc mixgo_me"></block>
<block type="sensor_mixgo_cc_mmc5603_get_angle"
m-show="micropython:esp32c3:mixgo_cc micropython:esp32c3:mixgo_me"></block>
<block type="rfid_status" m-show='micropython:esp32c3:mixgo_cc'></block>
<block type="rfid_readid" m-show='micropython:esp32c3:mixgo_cc'></block>
<block type="rfid_readcontent" m-show='micropython:esp32c3:mixgo_cc'>
m-show="mixgo_cc mixgo_me"></block>
<block type="rfid_status" m-show='mixgo_cc'></block>
<block type="rfid_readid" m-show='mixgo_cc'></block>
<block type="rfid_readcontent" m-show='mixgo_cc'>
<value name="SECTOR">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
</block>
<block type="rfid_write" m-show='micropython:esp32c3:mixgo_cc'>
<block type="rfid_write" m-show='mixgo_cc'>
<value name="SECTOR">
<shadow type="math_number">
<field name="NUM">0</field>
@@ -1456,7 +1456,7 @@
</shadow>
</value>
</block>
<block type="rfid_write_return" m-show='micropython:esp32c3:mixgo_cc'>
<block type="rfid_write_return" m-show='mixgo_cc'>
<value name="SECTOR">
<shadow type="math_number">
<field name="NUM">0</field>
@@ -1531,9 +1531,9 @@
</category>
<category id="catOnBoardActuator" name="catOnBoardActuator" colour="#6C9858"
m-hide='micropython:esp32c3:generic'>
m-hide='generic'>
<block type="actuator_led_bright"
m-show='micropython:esp32c3:mixgo_cc micropython:esp32c3:mixgo_me'>
m-show='mixgo_cc mixgo_me'>
<value name="led">
<shadow type="number">
</shadow>
@@ -1544,14 +1544,14 @@
</value>
</block>
<block type="actuator_get_led_state"
m-show='micropython:esp32c3:mixgo_cc micropython:esp32c3:mixgo_me'>
m-show='mixgo_cc mixgo_me'>
<value name="led">
<shadow type="number">
</shadow>
</value>
</block>
<block type="actuator_led_brightness"
m-show='micropython:esp32c3:mixgo_cc micropython:esp32c3:mixgo_me'>
m-show='mixgo_cc mixgo_me'>
<value name="led">
<shadow type="number">
</shadow>
@@ -1563,34 +1563,34 @@
</value>
</block>
<block type="actuator_get_led_bright"
m-show='micropython:esp32c3:mixgo_cc micropython:esp32c3:mixgo_me'>
m-show='mixgo_cc mixgo_me'>
<value name="led">
<shadow type="number">
</shadow>
</value>
</block>
<block type="actuator_get_led_state" m-show='micropython:esp32c3:mixgo_cc micropython:esp32c3:mixgo_me'>
<block type="actuator_get_led_state" m-show='mixgo_cc mixgo_me'>
<value name="led">
<shadow type="number">
</shadow>
</value>
</block>
<block type="actuator_stepper_keep" m-show='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_stepper_keep" m-show='mixgocar_c3'>
<value name="speed">
<shadow type="math_number">
<field name="NUM">100</field>
</shadow>
</value>
</block>
<block type="actuator_stepper_stop" m-show='micropython:esp32c3:mixgocar_c3'></block>
<block type="actuator_dc_motor" m-show='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_stepper_stop" m-show='mixgocar_c3'></block>
<block type="actuator_dc_motor" m-show='mixgocar_c3'>
<value name="speed">
<shadow type="math_number">
<field name="NUM">100</field>
</shadow>
</value>
</block>
<block type="actuator_dc_motor_stop" m-show='micropython:esp32c3:mixgocar_c3'></block>
<block type="actuator_dc_motor_stop" m-show='mixgocar_c3'></block>
<block type="esp32_onboard_music_pitch">
<value name="pitch">
<shadow type="pins_tone_notes">
@@ -1720,7 +1720,7 @@
</block>
</category>
<category id="catOnBoardDisplay" name="catOnBoardDisplay" colour='#569A98'
m-hide='micropython:esp32c3:generic micropython:esp32c3:mixgocar_c3'>
m-hide='generic mixgocar_c3'>
<block type="display_show_image">
<value name="data">
<shadow type="pins_builtinimg"></shadow>
@@ -1781,11 +1781,11 @@
</shadow>
</value>
</block>
<block type="mixgome_display_font" m-show='micropython:esp32c3:mixgo_me'></block>
<block type="mixgome_display_bitmap_create" m-show='micropython:esp32c3:mixgo_me'></block>
<block type="display_bitmap_create" m-show='micropython:esp32c3:mixgo_cc'></block>
<block type="display_image_builtins" m-show='micropython:esp32c3:mixgo_cc'></block>
<block type="display_image_builtins_all" m-show='micropython:esp32c3:mixgo_me'></block>
<block type="mixgome_display_font" m-show='mixgo_me'></block>
<block type="mixgome_display_bitmap_create" m-show='mixgo_me'></block>
<block type="display_bitmap_create" m-show='mixgo_cc'></block>
<block type="display_image_builtins" m-show='mixgo_cc'></block>
<block type="display_image_builtins_all" m-show='mixgo_me'></block>
<block type="image_arithmetic">
<value name="A">
<shadow type="pins_builtinimg"></shadow>
@@ -1844,7 +1844,7 @@
</category>
<category id="catME_GO" colour="100"
m-show='micropython:esp32c3:mixgo_me micropython:esp32c3:mixgo_cc'>
m-show='mixgo_me mixgo_cc'>
<block type="ce_go_led_bright">
<value name="led">
<shadow type="ce_go_light_number">
@@ -1935,9 +1935,135 @@
<block type="ce_go_pin_near_line"></block>
<block type="ce_go_pin_near"></block>
<block type="ce_go_pin_light"></block>
<block type="sensor_mixgome_eulerangles" m-show='micropython:esp32c3:mixgo_me'></block>
<block type="sensor_mixgome_eulerangles" m-show='mixgo_me'></block>
</category>
<category id="catME_G1" colour="40" m-show='micropython:esp32c3:mixgo_me'>
<category id="catPE_G1" colour="100" m-hide='generic'>
<block type="communicate_i2c_init">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">i2c_extend</field>
</shadow>
</value>
<value name="TX">
<shadow type="pins_digital_pin">
<field name="PIN">21</field>
</shadow>
</value>
<value name="RX">
<shadow type="pins_digital_pin">
<field name="PIN">22</field>
</shadow>
</value>
<value name="freq">
<shadow type="math_number">
<field name="NUM">400000</field>
</shadow>
</value>
<next>
<block type="pe_g1_use_i2c_init">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">pe</field>
</shadow>
</value>
<value name="I2CSUB">
<shadow type="variables_get">
<field name="VAR">i2c_extend</field>
</shadow>
</value>
</block>
</next>
</block>
<block type="pe_g1_battery_left">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">pe</field>
</shadow>
</value>
</block>
<block type="pe_g1_servo_set_angle">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">pe</field>
</shadow>
</value>
<value name="PIN">
<shadow type="number5">
</shadow>
</value>
<value name="NUM">
<shadow type="math_number">
<field name="NUM">100</field>
</shadow>
</value>
</block>
<block type="pe_g1_servo_get_angle">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">pe</field>
</shadow>
</value>
<value name="PIN">
<shadow type="number5">
</shadow>
</value>
</block>
<block type="pe_g1_servo_set_speed">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">pe</field>
</shadow>
</value>
<value name="PIN">
<shadow type="number5">
</shadow>
</value>
<value name="NUM">
<shadow type="math_number">
<field name="NUM">100</field>
</shadow>
</value>
</block>
<block type="pe_g1_servo_get_speed">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">pe</field>
</shadow>
</value>
<value name="PIN">
<shadow type="number5">
</shadow>
</value>
</block>
<block type="pe_g1_dc_motor">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">pe</field>
</shadow>
</value>
<value name="PIN">
<shadow type="number4">
</shadow>
</value>
<value name="speed">
<shadow type="math_number">
<field name="NUM">100</field>
</shadow>
</value>
</block>
<block type="pe_g1_dc_motor_speed">
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">pe</field>
</shadow>
</value>
<value name="PIN">
<shadow type="number4">
</shadow>
</value>
</block>
</category>
<category id="catME_G1" colour="40" m-show='mixgo_me'>
<block type="me_g1_aht11"></block>
<block type="me_g1_hp203"></block>
<block type="me_g1_varistor"></block>
@@ -1976,7 +2102,7 @@
</block>
</category>
<category id="catCC_G1" colour="40"
m-show='micropython:esp32c3:mixgo_cc micropython:esp32c3:mixgo_me'>
m-show='mixgo_cc mixgo_me'>
<block type="cc_g1_read_bat"></block>
<block type="cc_g1_read_joystick"></block>
<block type="cc_g1_read_key"></block>
@@ -2444,7 +2570,7 @@
</block>
</category>
<category id="catAIOT" colour="205"
m-show="micropython:esp32c3:mixgo_me micropython:esp32c3:mixgo_cc">
m-show="mixgo_me mixgo_cc">
<block type="iot_wifi_connect">
<value name="WIFINAME">
<shadow type="text">
@@ -3099,7 +3225,7 @@
</block>
</category>
<category id="catI2C" colour="140">
<block type="communicate_i2c_onboard" m-hide='micropython:esp32c3:generic'></block>
<block type="communicate_i2c_onboard" m-hide='generic'></block>
<block type="communicate_i2c_init">
<value name="SUB">
<shadow type="variables_get">
@@ -3622,7 +3748,7 @@
</value>
</block>
-->
<block type="communicate_i2c_init" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="communicate_i2c_init" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">i2c_extend</field>
@@ -3658,91 +3784,91 @@
</block>
</next>
</block>
<block type="sensor_mpu9250_get_acceleration" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mpu9250_get_acceleration" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_mpu9250_get_magnetic" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mpu9250_get_magnetic" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_mpu9250_get_gyro" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mpu9250_get_gyro" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_mpu9250_temperature" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_mpu9250_temperature" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_bmp" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_bmp" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_sht" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_sht" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_adxl345_get_acceleration" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_adxl345_get_acceleration" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_LTR308_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_LTR308_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_LTR390UV_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_LTR390UV_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_hp203_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_hp203_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_spl06_001_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_spl06_001_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_ms5611_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_ms5611_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_ms5611_extern_altitude" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_ms5611_extern_altitude" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
@@ -3754,56 +3880,56 @@
</shadow>
</value>
</block>
<block type="sensor_shtc3_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_shtc3_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_aht11_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_aht11_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_ltr381_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_ltr381_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_ucs12071_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_ucs12071_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_VL530LX_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_VL530LX_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_QMC5883L_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_QMC5883L_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_MAX30102_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_MAX30102_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
</shadow>
</value>
</block>
<block type="sensor_APDS9960_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_APDS9960_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">xsensor</field>
@@ -3871,7 +3997,7 @@
<field name="VAR">xsensor</field>
</shadow>
</block>
<block type="communicate_spi_init" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="communicate_spi_init" m-hide='mixgocar_c3'>
<value name="VAR">
<shadow type="variables_get">
<field name="VAR">spi</field>
@@ -3898,7 +4024,7 @@
</shadow>
</value>
<next>
<block type="sensor_use_spi_init" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_use_spi_init" m-hide='mixgocar_c3'>
<value name="SPISUB">
<shadow type="variables_get">
<field name="VAR">spi</field>
@@ -3918,14 +4044,14 @@
</next>
</block>
<block type="extern_rfid_status" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="extern_rfid_status" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">ysensor</field>
</shadow>
</value>
</block>
<block type="extern_rfid_readid" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="extern_rfid_readid" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">ysensor</field>
@@ -3937,7 +4063,7 @@
</shadow>
</value>
</block>
<block type="extern_rfid_readcontent" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="extern_rfid_readcontent" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">ysensor</field>
@@ -3949,7 +4075,7 @@
</shadow>
</value>
</block>
<block type="extern_rfid_write" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="extern_rfid_write" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">ysensor</field>
@@ -3966,7 +4092,7 @@
</shadow>
</value>
</block>
<block type="extern_rfid_write_return" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="extern_rfid_write_return" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">ysensor</field>
@@ -3984,7 +4110,7 @@
</value>
</block>
<block type="weather_have_data" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="weather_have_data" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">ysensor</field>
@@ -4004,14 +4130,14 @@
</block>
</value>
</block>
<block type="weather_data" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="weather_data" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">ysensor</field>
</shadow>
</value>
</block>
<block type="weather_uart_mixio" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="weather_uart_mixio" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">ysensor</field>
@@ -4024,7 +4150,7 @@
</value>
</block>
<block type="sensor_dht11" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="sensor_dht11" m-hide='mixgocar_c3'>
<value name="PIN">
<shadow type="pins_digital_pin"></shadow>
</value>
@@ -4034,7 +4160,7 @@
<shadow type="pins_digital_pin"></shadow>
</value>
</block>
<block type="HCSR04" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="HCSR04" m-hide='mixgocar_c3'>
<value name="PIN1">
<shadow type="pins_digital_pin">
<field name="PIN">4</field>
@@ -4148,7 +4274,7 @@
</shadow>
</value>
</block>
<block type="serial_softserial_new" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="serial_softserial_new" m-hide='mixgocar_c3'>
<value name="RX">
<shadow type="pins_digital_pin">
<field name="PIN">0</field>
@@ -4169,7 +4295,7 @@
</block>
</next>
</block>
<block type="pm25_get_data" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="pm25_get_data" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">zsensor</field>
@@ -4298,7 +4424,7 @@
</block>
</category>
<category id="catExternActuator" colour='#74A55B'>
<block type="servo_move" m-show='micropython:esp32c3:mixgocar_c3'>
<block type="servo_move" m-show='mixgocar_c3'>
<value name="PIN">
<shadow type="pins_pwm_pin"></shadow>
</value>
@@ -4308,7 +4434,7 @@
</shadow>
</value>
</block>
<block type="esp32_music_pitch_init" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="esp32_music_pitch_init" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">midi</field>
@@ -4320,7 +4446,7 @@
</shadow>
</value>
</block>
<block type="esp32_music_pitch" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="esp32_music_pitch" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">midi</field>
@@ -4332,7 +4458,7 @@
</shadow>
</value>
</block>
<block type="esp32_music_pitch_with_time" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="esp32_music_pitch_with_time" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">midi</field>
@@ -4349,7 +4475,7 @@
</shadow>
</value>
</block>
<block type="esp32_music_stop" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="esp32_music_stop" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">midi</field>
@@ -4368,7 +4494,7 @@
</shadow>
</value>
</block>
<block type="esp32_music_play_list" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="esp32_music_play_list" m-hide='mixgocar_c3'>
<value name="LIST">
<shadow type="pins_playlist_extern"></shadow>
</value>
@@ -4378,7 +4504,7 @@
</shadow>
</value>
</block>
<block type="backstage_esp32_music_play_list" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="backstage_esp32_music_play_list" m-hide='mixgocar_c3'>
<value name="LIST">
<shadow type="pins_playlist_extern"></shadow>
</value>
@@ -4398,7 +4524,7 @@
</shadow>
</value>
</block>
<block type="esp32_music_set_tempo_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="esp32_music_set_tempo_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">midi</field>
@@ -4415,21 +4541,21 @@
</shadow>
</value>
</block>
<block type="esp32_music_get_tempo_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="esp32_music_get_tempo_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">midi</field>
</shadow>
</value>
</block>
<block type="esp32_music_reset_extern" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="esp32_music_reset_extern" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">midi</field>
</shadow>
</value>
</block>
<block type="actuator_neopixel_init" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_neopixel_init" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">rgb</field>
@@ -4446,7 +4572,7 @@
</shadow>
</value>
</block>
<block type="actuator_neopixel_rgb" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_neopixel_rgb" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">rgb</field>
@@ -4473,7 +4599,7 @@
</shadow>
</value>
</block>
<block type="actuator_neopixel_rgb_all" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_neopixel_rgb_all" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">rgb</field>
@@ -4495,7 +4621,7 @@
</shadow>
</value>
</block>
<block type="actuator_neopixel_rgb_show_all_chase" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_neopixel_rgb_show_all_chase" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">rgb</field>
@@ -4522,7 +4648,7 @@
</shadow>
</value>
</block>
<block type="actuator_neopixel_rgb_show_all_rainbow" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_neopixel_rgb_show_all_rainbow" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">rgb</field>
@@ -4534,14 +4660,14 @@
</shadow>
</value>
</block>
<block type="actuator_neopixel_write" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_neopixel_write" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">rgb</field>
</shadow>
</value>
</block>
<block type="servo_set_angle" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="servo_set_angle" m-hide='mixgocar_c3'>
<value name="PIN">
<shadow type="pins_pwm_pin"></shadow>
</value>
@@ -4551,12 +4677,12 @@
</shadow>
</value>
</block>
<block type="servo_get_angle" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="servo_get_angle" m-hide='mixgocar_c3'>
<value name="PIN">
<shadow type="pins_pwm_pin"></shadow>
</value>
</block>
<block type="servo_set_speed" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="servo_set_speed" m-hide='mixgocar_c3'>
<value name="PIN">
<shadow type="pins_pwm_pin"></shadow>
</value>
@@ -4566,12 +4692,12 @@
</shadow>
</value>
</block>
<block type="servo_get_speed" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="servo_get_speed" m-hide='mixgocar_c3'>
<value name="PIN">
<shadow type="pins_pwm_pin"></shadow>
</value>
</block>
<block type="communicate_i2c_init" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="communicate_i2c_init" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">i2c_extend</field>
@@ -4607,7 +4733,7 @@
</block>
</next>
</block>
<block type="actuator_ms32006_dcmotor" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_ms32006_dcmotor" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">Motor</field>
@@ -4620,7 +4746,7 @@
</value>
</block>
<block type="actuator_ms32006_stepper" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="actuator_ms32006_stepper" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">Motor</field>
@@ -4637,7 +4763,7 @@
</shadow>
</value>
</block>
<block type="serial_softserial_new" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="serial_softserial_new" m-hide='mixgocar_c3'>
<value name="RX">
<shadow type="pins_digital_pin">
<field name="PIN">0</field>
@@ -4658,7 +4784,7 @@
</block>
</next>
</block>
<block type="syn6288_set_voice" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="syn6288_set_voice" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">actuator</field>
@@ -4668,14 +4794,14 @@
<shadow type="pins_tts_voice"></shadow>
</value>
</block>
<block type="syn6288_get_voice" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="syn6288_get_voice" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">actuator</field>
</shadow>
</value>
</block>
<block type="syn6288_builtin_voice" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="syn6288_builtin_voice" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">actuator</field>
@@ -4685,7 +4811,7 @@
<shadow type="pins_tts_builtin_music"></shadow>
</value>
</block>
<block type="syn6288_tts_play" m-hide='micropython:esp32c3:mixgocar_c3'>
<block type="syn6288_tts_play" m-hide='mixgocar_c3'>
<value name="SUB">
<shadow type="variables_get">
<field name="VAR">actuator</field>
@@ -4747,7 +4873,7 @@
</block>
</category>
</category>
<category id="catExternMonitor" colour='5BA5A5' m-hide='micropython:esp32c3:mixgocar_c3'>
<category id="catExternMonitor" colour='5BA5A5' m-hide='mixgocar_c3'>
<category id="catMatrix" colour='5BA5A5'>
<block type="communicate_i2c_init">
<value name="SUB">