Step 8: MBlock
In order to write code for this robot in Scratch we will need to use the mBlock software. It is entirely free and you do not
need to create an account to use it. You can download and install it at this link: www.mblock.cc/en/download
1. Download and install mBlock from the link provided above.
2. Download the TCPL's prewritten code here: Google Drive.
3. Open mBlock once it's fully installed.
4.
On the bottom left Devices
Devices tab close the CyberPi device by selecting the blue x. A message box will
appear asking if you want to delete this sprite. Select delete.
5.
Navigate back to the Devices
Devices tab and select
add
add. A new page full of devices will appear.
6.
Locate the Arduino Nano
Arduino Nano and install it by selecting the blue plus symbol. Then select
ok
ok.
7. Locate the
Arduino Nano(old)
Arduino Nano(old) and install it by selecting the blue plus symbol. Then select
ok
ok. We add
the Arduino Nano(old) in case we cannot upload the code to the regular one.
8. Now that you have both Arduino Nanos installed you can open TCPL's code. Select from the top ribbon
Dostları ilə paylaş: