Case 13 - Breathing LEDs

Part 1   Objective

After you upload the program, the RGB LEDs on CyberPi flicker, looking like breathing.

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

25.gif

26.gif

Part 3   Programming

27.gif

Part 4   Practice

  1. Try to change the flickering frequency of the LEDs.

  2. Try to achieve the breathing effect by compiling other programs.

 

 

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

Comments

0 comments

Article is closed for comments.