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.4.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for microbitdongle-0.3.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d769f13bccdd8f6a1d4bdf40fc2910072b0fc22c8b3b7a1ece5d024fc945da |
|
MD5 | 7b3c5bafdb03e4f2c01745e816aa96e0 |
|
BLAKE2b-256 | 0dbb129dd8c1f0d80f2ec9f7e7f860db1159e866be44808a10b9044b83f9bd2d |