https://github.com/eulerlab/lightcrafter
https://github.com/eulerlab/lightcrafter
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/eulerlab/lightcrafter
- Owner: eulerlab
- License: mit
- Created: 2021-02-26T15:47:03.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-26T18:38:45.000Z (over 5 years ago)
- Last Synced: 2025-03-21T17:55:00.812Z (over 1 year ago)
- Language: Python
- Size: 20.5 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## lightcrafter
### Installation (preliminary)
Tested under Ubuntu 18.04 (running in Windows 10's Linux Subsystem) with Python 3. For details on `hidapi`, see [here](/https://pypi.org/project/hidapi/0.7.99.post19/#install).
```
git clone https://github.com/eulerlab/lightcrafter.git
cd lightcrafter
sudo apt update
sudo apt upgrade
sudo apt install libusb-1.0-0.dev
sudo apt install libudev-dev
pip3 install numpy
git clone https://github.com/trezor/cython-hidapi.git
cd cython-hidapi
git submodule init
git submodule update
python3 setup.py build
sudo python3 setup.py install
```
Test by running:
```
python3
>>> import hid
```
... and then:
```
cd code
python3 __toVideoMode.py
```