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.

20.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.

21.gif

22.gif

Part 3   Programming

23.gif

Part 4   Practice

  1. Try to change the light-up sequence of the LEDs.

  2. Try to alter the color and rate of color change of the LEDs.

 

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

Comments

0 comments

Please sign in to leave a comment.