Download the Code
=================
All example programs used in this kit are stored in our official GitHub repository.
Use the following command to download the complete project to your Raspberry Pi.
Clone the Repository
--------------------
#. Log into your Raspberry Pi and run:
.. raw:: html
.. code-block:: bash
cd ~/
git clone https://github.com/sunfounder/raphael-kit.git --depth 1
#. Enter the project directory:
.. raw:: html
.. code-block:: bash
cd ~/raphael-kit/
#. List the files:
.. raw:: html
.. code-block:: bash
ls
#. You will see a structure similar to this:
.. code-block:: text
raphael-kit/
├── c/
├── iot/
├── music/
├── nodejs/
├── python-pi5/
├── python/
├── scratch/
└── README.md
Project Structure Overview
--------------------------
Here is a brief introduction to each folder:
* **c/**
C language examples and libraries for users who prefer programming in C on Raspberry Pi.
* **iot/**
IoT-related examples, including connectivity with the Blynk platform, sensor demonstrations, and communication modules.
* **music/**
Contains audio resources such as ``doorbell.wav`` and ``my_music.mp3`` used in later projects.
* **nodejs/**
Node.js examples for users developing JavaScript-based projects on Raspberry Pi.
* **python/**
Python example programs written using the ``RPi.GPIO`` library, suitable for most Raspberry Pi boards.
* **python-pi5/**
Python examples written using the ``GPIO Zero`` library, specifically optimized for **Raspberry Pi 5**.
* **scratch/**
Scratch programming examples designed for beginners learning graphical programming.
* **README.md**
Basic information about the repository and general instructions.
You can now enter the folder corresponding to your preferred programming language or project type and start running the examples.