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.6.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for microbitdongle-0.3.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11307f67e3440046ccb77665f218d6ad0f7dd4728496f9861fc7ee0498e9c8ca |
|
MD5 | 28ec5d87e90ee5edf705e1444c978fdc |
|
BLAKE2b-256 | 4494e61f91a2edb5d2a1504b5d209560db7d6c0a681631573476e7983021f051 |