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
.. code-block:: 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
.. code-block:: 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.9.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for microbitdongle-0.3.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fe9271b51bf84c99ce63bb67dc081a04579c01aa670d28f9e01d754da55b9ca |
|
MD5 | 772063b9ce3cb12c13e891987d782036 |
|
BLAKE2b-256 | 914d7edd07a13544eb02a0c0b0f6dab419f4a80c9be561e5ae58dd5115497cf3 |