Case 18 - Heartbeat

Part 1   Objective

After you upload the program, the screen of CyberPi displays a beating heart.

43.gif

Part 2   Preparation

  • CyberPi x 1

  • USB cable (Type-C) x 1

  • Computer with network access x 1

Connect CyberPi to the computer by using the cable, open mBlock 5 (PC client or web version), connect CyberPi, and select the Upload mode.

44.gif

45.gif

Part 3   Programming

Click +extension on the column of program blocks, and add Display+ under CyberPi. After that, you can enjoy more screen display features. Drag the blocks required to implement the feature of a heartbeat.

46.gif

Part 4   Practice

Can the heart move besides beating? Give it a try.

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.