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
:caption: example.py
:name: example-py
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
:caption: example.py
:name: example-py
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.10.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for microbitdongle-0.3.10-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa86e02bf1d0984ded939578e8f801f48bb8c69c45b221bb8f456044edb51338 |
|
MD5 | 89f8b0a10b35c8d898737e1d05ce290d |
|
BLAKE2b-256 | 0315dfcaf9f2f22037e3c2b9065070da442d79c0b959d7d964a87d62bdcb1934 |