Skip to content

Instantly share code, notes, and snippets.

@e3e6
Created January 7, 2025 19:29
Show Gist options
  • Save e3e6/f8558f8487dad2fe8909c8dc17b80888 to your computer and use it in GitHub Desktop.
Save e3e6/f8558f8487dad2fe8909c8dc17b80888 to your computer and use it in GitHub Desktop.
M5Stack Atom Echo: i2c driver install error
{"version":"V2.0","versionNumber":"V2.2.0","type":"atom-echo","components":[],"resources":[{"hardware":["hardware_button","hardware_pin_button","rgb","speaker","ir","mic"]}],"units":[],"hats":[],"bases":[],"i2cs":[],"blockly":"<variables><variable id=\"2Y=RySQQbfp`yn1MQS()\">color</variable></variables><block type=\"basic_on_setup\" id=\"setup_block\" deletable=\"false\" x=\"50\" y=\"50\"><mutation isBegin=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_begin\" id=\"system_m5_begin\"><next><block type=\"rgb_init\" id=\"XK3-BI@0XeY]U*i;+T;p\"><mutation mode=\"builtin\"></mutation><field name=\"MODE\">builtin</field><next><block type=\"variables_set\" id=\"}R1^ol`LS4xE$8%N,gKR\"><field name=\"VAR\" id=\"2Y=RySQQbfp`yn1MQS()\">color</field><value name=\"VALUE\"><block type=\"logic_boolean\" id=\"H@^?(G!!1Y/XQ_sH?qE_\"><field name=\"BOOL\">TRUE</field></block></value></block></next></block></next></block></statement></block><block type=\"basic_on_loop\" id=\"loop_block\" deletable=\"false\" x=\"450\" y=\"50\"><mutation isUpdate=\"true\"></mutation><field name=\"UPDATEOP\">true</field><statement name=\"FUNC\"><block type=\"system_m5_update\" id=\"system_m5_update\"></block></statement></block><block type=\"button_callback\" id=\"DrFUq@(9CrTdrDjB,c4]\" x=\"93\" y=\"274\"><field name=\"NAME\">BtnA</field><field name=\"TYPE\">WAS_CLICKED</field><statement name=\"FUNC\"><block type=\"controls_ifelse\" id=\"xWC?*Hg7IrEI=$IGPN%e\"><value name=\"IF0\"><block type=\"variables_get\" id=\"[3sf)v1u:HhBU]/:5o|#\"><field name=\"VAR\" id=\"2Y=RySQQbfp`yn1MQS()\">color</field></block></value><statement name=\"DO0\"><block type=\"rgb_set_index_color\" id=\"xpL|0!z+?%^Zf$yh8`~M\"><field name=\"NAME\">rgb</field><value name=\"INDEX\"><shadow type=\"math_number\" id=\"n09G+VU/:${TbtfG0hZO\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">0</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"2dpfv6Sc[ZDp0kRnYAd}\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#33cc00</field></block></value></block></statement><statement name=\"ELSE\"><block type=\"rgb_set_index_color\" id=\"i./a|,Wda_!%bc6pK,OD\"><field name=\"NAME\">rgb</field><value name=\"INDEX\"><shadow type=\"math_number\" id=\"jmQO/s_|[?k3I~A28J)@\"><mutation max=\"Infinity\" min=\"-Infinity\" precision=\"0\"></mutation><field name=\"NUM\">0</field></shadow></value><value name=\"COLOR\"><block type=\"color_rgb_palette\" id=\"w|4(dmmdMI1Adu+mxI88\"><mutation mode=\"palette\"></mutation><field name=\"MODE\">palette</field><field name=\"COLOR\">#ff0000</field></block></value></block></statement><next><block type=\"variables_set\" id=\"gw8HVV1esps}9lr[+x7L\"><field name=\"VAR\" id=\"2Y=RySQQbfp`yn1MQS()\">color</field><value name=\"VALUE\"><block type=\"logic_negate\" id=\"fSo4]e$Nx7a)k8$DODyG\"><value name=\"BOOL\"><block type=\"variables_get\" id=\"rPESv:z/%SAq3*98)Fgl\"><field name=\"VAR\" id=\"2Y=RySQQbfp`yn1MQS()\">color</field></block></value></block></value></block></next></block></statement></block>","screen":[],"logicWhenNum":0,"customList":[]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment