1+ {"version":"V2.0","versionNumber":"V2.0.9","type":"cores3","components":[{"name":"screen","type":"screen","layer":0,"screenId":"builtin","screenName":"","id":"__cores3_screen","createTime":1720066029701,"x":0,"y":0,"width":320,"height":240,"backgroundColor":"#222222","size":0,"isSelected":true}],"resources":[{"hardware":["hardware_button","hardware_pin_button","imu","speaker","touch","als","mic","i2c"]},{"unit":["unit_imu"]}],"units":[{"type":"unit_imu","name":"imu_0","portList":["A","PAHUB","Custom"],"portType":"A","userPort":[22,21],"id":"mCkFn6ccEyeF7m-^","createTime":1720066037134,"bus":"i2c0","pahubPortList":[0,1,2,3,4,5],"pahubPort":0,"initBlockId":"FlHBS5zFk+7Pm0_zq~@!"}],"hats":[],"bases":[],"i2cs":[{"id":"i2c0","portType":"A","userPort":[22,21],"freq":"100000","blockId":"Q=e_Yyd?s#SA@{axfAN8"}],"blockly":"<block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"-330\" y=\"-270\"><mutation isBegin=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_begin\" id=\"system_m5_begin\"><next><block type=\"i2c_init\" id=\"Q=e_Yyd?s#SA@{axfAN8\"><field name=\"NAME\">0</field><field name=\"FREQ\">100000</field><value name=\"SCL\"><shadow type=\"math_number\" id=\"B5Mwy%UUg{%-hK6_=q,A\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">1</field></shadow></value><value name=\"SDA\"><shadow type=\"math_number\" id=\"lFps;anc{vB6h:8^.t$H\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">2</field></shadow></value><next><block type=\"unit_imu_init\" id=\"FlHBS5zFk+7Pm0_zq~@!\"><field name=\"NAME\">imu_0</field><next><block type=\"unit_imu_set_accel_unit\" id=\"^]1[ln43Hg+:CRSs-]R*\"><field name=\"NAME\">imu_0</field><field name=\"UNIT\">1</field><next><block type=\"unit_imu_set_gyro_unit\" id=\"+JPJWT-YC6$YhD`jn|*b\"><field name=\"NAME\">imu_0</field><field name=\"UNIT\">1</field></block></next></block></next></block></next></block></next></block></statement></block><block type=\"basic_on_loop\" id=\"loop_block\" deletable=\"false\" x=\"-330\" y=\"-10\"><mutation isUpdate=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_update\" id=\"system_m5_update\"><next><block type=\"text_print\" id=\"5YippNcnJ+h]fzK#4e_X\"><value name=\"TEXT\"><shadow type=\"text\" id=\"]q32hfN*--Be-Xw@cV43\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"text_add_str\" id=\"q=S^+FwrzG~m5.cl!pv5\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"O226vsVX|_U$`zobWFID\"><field name=\"TEXT\">Acc:</field></shadow></value><value name=\"VALUE2\"><block type=\"unit_imu_get_accelerometer\" id=\"6(8pP;s7i2.^.0%Q~DNb\"><field name=\"NAME\">imu_0</field></block></value></block></value><next><block type=\"text_print\" id=\"%mLpf[BbefWV/K-nH*cW\"><value name=\"TEXT\"><shadow type=\"text\" id=\"]q32hfN*--Be-Xw@cV43\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"text_add_str\" id=\"`aI]?/b?n1t(`DR[~5.Q\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"?hV+OH?sX545eF99AU^{\"><field name=\"TEXT\">Gryo:</field></shadow></value><value name=\"VALUE2\"><block type=\"unit_imu_get_gyroscope\" id=\"%J4T:B-qvEynLnoQi_fF\"><field name=\"NAME\">imu_0</field></block></value></block></value><next><block type=\"text_print\" id=\"R_R-#Sx,s*|H_;4#HvYw\"><value name=\"TEXT\"><shadow type=\"text\" id=\"]q32hfN*--Be-Xw@cV43\"><field name=\"TEXT\">hello M5</field></shadow><block type=\"text_add_str\" id=\"O#Cc`0qDnV1uFxOTfDEH\"><value name=\"VALUE1\"><shadow type=\"text\" id=\"82%#0sCmG71g+!hx}~!B\"><field name=\"TEXT\">Attitude</field></shadow></value><value name=\"VALUE2\"><block type=\"unit_imu_get_attitude\" id=\"}6XLaL+Znfau29=]){+z\"><field name=\"NAME\">imu_0</field></block></value></block></value><next><block type=\"time_sleep_millisecond\" id=\"~tT[2q#xlfbY?Sh15*Jc\"><value name=\"MS\"><shadow type=\"math_number\" id=\"R4*Y6d=mj1Afkg7zmwUc\"><mutation max=\"Infinity\" min=\"0\" precision=\"0\"></mutation><field name=\"NUM\">100</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block>","screen":[{"simulationName":"Built-in","type":"builtin","width":320,"height":240,"scale":0.78,"screenName":"","blockId":"","screenColorType":0,"id":"builtin","createTime":1720066029691}],"logicWhenNum":0,"customList":[]}