Case 18 - Heartbeat
Part 1 Objective
After you upload the program, the screen of CyberPi displays a beating heart.
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, web version, or mobile app), connect CyberPi, and select the Upload mode.
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 code blocks to implement the feature of heartbeat.
Part 4 Practice
Can the heart move besides beating? Give it a try.