Skip to content

francoisgeorgy/led-cube-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LED Cube - Python

Checkout the main repository to get more information about the LED Cube.

Installation

If you want to run the Rubik's Cube demo, see the dedicated chapter later on.

For development

pip install --editable .
pip install fastapi uvicorn 'uvicorn[standard]' bottle ifaddr segno

In the Cube

pip install --editable .
pip install RPi.GPIO adafruit-blinka fastapi uvicorn 'uvicorn[standard]' bottle ifaddr segno

Rubik's Cube demo

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.

Running the examples

To be documented...

Known issues

To be documented...

Credits

For the Rubik's Cube demo :

About

Python code and tools for the LED Cube.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages