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

So, what Is pymata_aio?

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

This release includes three independent APIs, affording the design developer maximal design flexibility.

Three APIs Included:

pymata_core

A pure asyncio method call API intended for those who wish to use asyncio directly. It exposes its underlying asyncio task/coroutine/futures model to the developer.

Click here to see sample code illustrating pymata_core in use..

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 sample code illustrating pymata3 in use.

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 and Because it uses JSON messaging, it is totally language independent!

Click here to see a simple HTML/JavaScript web page example that communicates with pymata_iot..