Checkout the main repository to get more information about the LED Cube.
If you want to run the Rubik's Cube demo, see the dedicated chapter later on.
pip install --editable .
pip install fastapi uvicorn 'uvicorn[standard]' bottle ifaddr segno
pip install --editable .
pip install RPi.GPIO adafruit-blinka fastapi uvicorn 'uvicorn[standard]' bottle ifaddr segno
pip install RubikTwoPhase
After having installed the RubikTwoPhase
you have to generate some data which will be used to solve the cubes.
Open a python interpreter and do :
import twophase.solver as sv
This will create a twophase
directory with pre-computed data files in it. About 70MB.
This directory can be copied in the Raspberry Pi. This way you don't need to generate the data on the Raspberry itself.
For more details, see https://github.com/hkociemba/RubiksCube-TwophaseSolver.
To be documented...
To be documented...
For the Rubik's Cube demo :