EasyManuals Logo

Freenove Ultimate Starter Kit User Manual

Freenove Ultimate Starter Kit
286 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #280 background imageLoading...
Page #280 background image
Chapter 27 Solder Circuit Board
280
www.freenove.com
support@freenove.com
Connect the Circuit
Connect the board to Raspberry Pi with jumper wire in the following way.
DS
GPIO.17
ST_CP
GPIO27
SH_CP
GPIO22
GND
GND
VCC
3.3V/5V
Code
This is the third time we have made flowing water light. In this project, we solder a completely new circuit for
flowing water light. Additionally, the program is also different from previous ones. When this light flows, it will
bring a long tail.
C Code 27.2.1 LightWater03
First observe the project result, and then analyze the code.
1. Use cd command to enter 27.2.1_LightWater03 directory of C code.
cd ~/Freenove_Ultimate_Starter_Kit_for_Raspberry_Pi/Code/C_Code/27.2.1_LightWater03
2. Use following command to compile LightWater03.cand generate executable file “LightWater03.
gcc LightWater03.c -o LightWater03 -lwiringPi
3. Then run the generated file “LightWater03”.
sudo ./LightWater03
After the program is executed, the LEDs will light up in the form of flowing water and carry a long tail.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Freenove Ultimate Starter Kit and is the answer not in the manual?

Freenove Ultimate Starter Kit Specifications

General IconGeneral
BrandFreenove
ModelUltimate Starter Kit
CategorySingle board computers
LanguageEnglish