Basic Lesson 0 Basic Operation

Share for us

Introduction

This lesson is used to learn basic operation of the Ezblock, from choosing products to flashing the project to your control board.

Go to Production Page

Go to the home page of Ezblock Studio and click the word, Product in the top right corner to enter the product selection page.

Choose Product

Choose the product, PiMobile under the Robots category.

Then select the programming environment, Block.

Create a New Project

Click the button, New Project on the left side of main page to create a new project

Then input the project name.

Programming Page

Next, go to the Programming page. Now we can program by dragging the blocks from Category to Programming Area. Click the icons on Tool Bar and Menu Bar to perform some functions. Please refer to the appendix for details.

Programming

Under the Basic category, click the print block.

Place it in the Forever block.

Save the Project

Once you’ve written the code, click the menu button in the top right corner and click Save to save the project. If you are logged in, your code will be saved both on your device and on cloud. If not, your code will be saved only on your device.

Connect Bluetooth

Click the Bluetooth connection button on the left function area. Then, in device select prompt, choose your device and click on Done; waiting for “Connected” to appear.

In case of cross connection between several Raspberry Pi boards, Ezblock Pi decrease its Bluetooth signal strength while it is being connected. You need to put it as close as possible to your device. As long as they are connected, the signal strength will be normal.

Flash Your Code

After the connection is done, click the Flash button to compile and download the code to the Raspberry Pi.

Debug Monitor

The Debug Monitor on the left is to print strings, values or debug messages.

After your code is flashed, you will see “ abc ” you write on your code, is printing repeatedly. Try to modified the print block, and print everything you want.