Skip to content
This repository has been archived by the owner on Mar 28, 2020. It is now read-only.
Alan Yorinks edited this page Jul 9, 2015 · 46 revisions

logo

UNDER CONSTRUCTION

So, what Is pymata_aio?

It's the second generation of the PyMata easy-to-use, application programming interface for Arduino Firmata. To provide maximum performance, it uses the Python asyncio library at its core.

To provide the developer with the maximum amount of design flexibility, three independent APIs are included with this release.

pymata_core

A pure asyncio method call API intended for those who wish to use asyncio directly. The asyncio task/coroutine/futures model is used and exposed by pymata_core.

pymata3

This API is intended for those who wish to have all of the performance advantages of pymata_core, but do not wish to work directly with asyncio tasks, coroutines and futures. It is a proxy API for pymata_core, "hiding" the asyncio details from the application.

Click here to see a sample use of pymata3.

pymata_iot

Would you like to connect and control your Arduino over the Internet? The pymata_iot API allows you to easily accomplish this through a set of JSON messages. It is a ready to run Autobahn WebSocket server application. Because it uses JSON messaging, it is totally language independent

Click here to see a sample demonstrating both a Python interface and a JavaScript interface.