Awesome
<h1 align="center"> <a href="https://github.com/musabkilic/lightbit/">LightBit</a> </h1> <p align="center"> <img src="https://img.shields.io/github/license/musabkilic/lightbit.svg"/> <img src="https://img.shields.io/github/stars/musabkilic/lightbit.svg"/> <br/> <img src="https://musab.netlify.app/img/lightbit.gif"/> </p>LightBit is a little Python script that let's you read books, magazines(such as Micro:Mag!) or do other cool stuff(it is essentially a right key) by sliding your hand left and right, just like in a Sci-Fi movie! It uses light-level data from a micro:bit and simulates a key-press.
Installation
- Clone the repository using
git clone https://github.com/musabkilic/lightbit
- Connect your micro:bit to your computer using a USB cable
- Send
microbit-LightController.hex
to your micro:bit - If you don't already have Python, download Python 3.7 from this link
- Install required Python modules
pip3 install -r requirements.txt
Usage
- Run the code using
python light.py