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.7.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for microbitdongle-0.3.7-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 823973c6c353e7aa377f0825a7790b75af4ae3f0b784a55eda62e36c687361f2 |
|
MD5 | 87775e1d51c66266285d70f8fbe01b57 |
|
BLAKE2b-256 | 6309de7563842e77ac766ac5ca83a06d25e81010533014f2ac2878f2afa3b64c |