Happy Valentine with Wio Terminal and Scratch!!
The Sytem
System diagram
The Wio Terminal interact with Scratch using Scratch(Stretch3) with Microbit More.
The Wio Terminal acts as micro:bit with WioTermBitLess.
You can use these functions at Wio Terminal.
- Display as 5x5 LED and show string.
- Button A, B, C
- Accelometer
- Light sensor
- Temperature sensor
- Sound I/O
- Serial 2
More detail of "bitLess" family, please read M5bitLess: M5Stack x Scratch3 = So Fun!!.
Scratch Code
Scratch Code
- Top right blocks: (x,y) create randomly `x=rand(-1,1), y=rand(-1,1.5)`.
- Left side blocks: The heart mark at Scratch written by `x^2*(1.25*y-sqrt(abs(x)))^2<1`.
- Bottom right blocks: Show heart beat at Wio Terminal.
Comments
Please log in or sign up to comment.