Difference between revisions of "PiCube"
From SB-Components Wiki
Line 37: | Line 37: | ||
''' Github ''' | ''' Github ''' | ||
− | * [https://github.com/sbcshop/PiCube] | + | * [https://github.com/sbcshop/PiCube PiCube] |
Revision as of 12:19, 29 October 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 Pico Cube. You can also modify this code to put your own creativity.
Resources
Github