Skip to content

musabkilic/lightbit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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

Musab Kılıç
@musabkilic & @musabkilic0
Licensed under the GNU General Public License v3.0

About

LightBit is a little Python script that let's you do cool stuff by sliding your hand left and right, just like in a Sci-Fi movie!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages