No project description provided
Project description
# microbitdongle
## About
Microbitdongle allows you to communicate with a micro:bit over serial.
## Installation / Usage
To install type `pip install microbitdongle` into a terminal.
Here is some example code
python```
from microbitdongle import Dongle
mb = Dongle(debug=True) # debug=False by default. Shows useful pairing information
while True:
data = mb.recv()
print(data)
```
you can also send data to the micro:bit usin `mb.send("display.scroll('hi')\r")`
## About
Microbitdongle allows you to communicate with a micro:bit over serial.
## Installation / Usage
To install type `pip install microbitdongle` into a terminal.
Here is some example code
python```
from microbitdongle import Dongle
mb = Dongle(debug=True) # debug=False by default. Shows useful pairing information
while True:
data = mb.recv()
print(data)
```
you can also send data to the micro:bit usin `mb.send("display.scroll('hi')\r")`
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
microbitdongle-0.3.5.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for microbitdongle-0.3.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16a842029e775ae341cb1ce1162d8eacf355e69941e19e8df8015e9b2594978a |
|
MD5 | d86ba35742a69151a301d16cf4b2584c |
|
BLAKE2b-256 | 9ce75b6fc6a570b81119991755d8838bbdf2aa9c42f9e56ee87e7fb1114eb92b |