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.
- 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
- Run the code using
python light.py
Musab Kılıç
@musabkilic & @musabkilic0
Licensed under the GNU General Public License v3.0