STEP1: Connect the knob to Pin P1 of the expansion board, the LED strip to P2.
STEP2: The following logic diagram will help you to build a general idea about how to realize a DJ Bandstand.
STEP3: Programming
1. Take programming “0
2. Since there are only 7 LEDs, so we can use different light effect to express the sound “Do” in the eighth section as shown below.
3. To convenient operation, we can make a little bit improvement, such as add a handle to the knob, or mark the range of each sound.
License
All Rights
Reserved
0
More from this category