M5Scratch is Arduino IDE program whch communicate both M5Stack/M5StickC/ATOM Matrix and Scratch 1.4 each other.
Japanese information is at https://scrapbox.io/610t/M5Scratch .
- You must set your network SSID, PASSWD, and Scratch Host IP at network.h.
- Compile and upload M5Scratch.ino with Arduino IDE.
- Mouse right click "[Slider] sensor value" and check "enable remote sensor connections".
- Try code below:
I will write detail later.
- Better Scratch Wi-Fi and Host IP setting method.