Admin
Articles
-
Case 8 - Basic movements
Part 1 Objective After you write the program and upload it to mBot, your mBot moves forward, moves backward, turns left, turns right, and then stops moving once it is started. Part 2 Preparatio...
-
Case 11 - Marquee
Part 1 Objective After you upload the program, the RGB LEDs on CyberPi light up in turn from LED 1 to LED 5, achieving the marquee effect. Part 2 Preparation CyberPi x 1 USB cable (Ty...
-
Case 4 - Detect the angles the encoder motor shaft rotates
Part 1 Objective After you compile the program, the stage displays the angles the encoder motor shaft rotates in real time. Part 2 Preparation MegaPi x 1 MegaPi encoder/DC motor driver ...
-
Case 3 - Detect black lines with the line follower sensor
Part 1 Objective After you upload the program, the RGB LEDs on the RGB module connected to pin A13 on MegaPi are on when the line follower sensor connected to pin A9 detects a black line and the ...
-
Case 6 - Breathing LEDs
Part 1 Objective After you upload the program, the LEDs on Auriga light up from dark to bright and then from bright to dark and repeat this process, looking like breathing. Part 2 Preparatio...
-
Press the Button to Play LED Animation "Meteor"
The programmable button of Halocode has plenty of usage scenarios, such as activating a script. The four touchpads of Halocode can report whether it is being touched via the change in capacitanc...
-
Can I Remove Cyberpi From the mBot2 Shield and Use It as a Remote Control?
This Q&A applies to: mBot2, mBot Neo, and Cyberpi. If You Have One CyberPi, then No mBot2 needs CyberPi as its main control unit. Without it, mBot2 can't function independently. If You Have ...
-
Example — [Arduino] Add a Third-party Library for an Arduino Extension
This page describes how to add a third-party library when you use mBlock 5 Extension Builder to create an Arduino extension. You can write a library (for example, test.h) and add it for an Arduino...
-
Guide of Using mBlock and Google Classroom to Teach Coding
With mBlock supporting coding projects to Google Classroom, mBlock can provide a better online coding teaching solution to cope with school closure.mBlock, the block-based coding platform trusted b...
-
Case 12 - Flowing water
Part 1 Objective After you upload the program, the RGB LEDs on CyberPi light up one by one from LED 1 to LED 5, looking like flowing water. Part 2 Preparation CyberPi x 1 USB cable (T...