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.
Three Independent APIs Are Included.
Choose the one that is best suited to your job:
The pymata3 API is modeled after the original PyMata API and will seem most familiar to current PyMata users. This API acts as a proxy for the pymata_core API, providing all of the advantages of asyncio, but without having to directly program in asyncio.
This API is 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.
It provides the exact the same functionality as the other two examples above, but it provides a web page with two buttons to turn the LED on and off.