Difference between revisions of "PiCube"
From SB-Components Wiki
Line 31: | Line 31: | ||
<source lang="shell"> python3 demo.py </source> | <source lang="shell"> python3 demo.py </source> | ||
− | It will run a different LED pattern on | + | It will run a different LED pattern on PiCube. You can also modify this code to put your own creativity. |
− | |||
== Resources == | == Resources == |
Revision as of 11:00, 8 November 2021
Pinout
Installation
Python
- Stack PiCube on Raspberry Pi 40 Pin GPIO header.
- Open Git Bash Terminal and clone/download the repository by typing the below command in the terminal:
git clone https://github.com/sbcshop/PiCube.git
- Your code will be downloaded to the '/home/pi' directory. Use the 'ls' command to check the list of directories and the 'cd' command to enter the directory.
cd PiCube
- 'demo.py' is an example code for PiCube. Run test file and play with PiCube by running below python command.
python3 demo.py
It will run a different LED pattern on PiCube. You can also modify this code to put your own creativity.
Resources
Github