tino / pyFirmata

Python interface for the Firmata (http://firmata.org/) protocol. It is compliant with Firmata 2.1. Any help with updating to 2.2 is welcome. The Capability Query is implemented, but the Pin State Query feature not yet.
MIT License
575 stars 193 forks source link

documentation enhancement request: How to use a newly defined board layout dict? #117

Open villares opened 2 years ago

villares commented 2 years ago

image

I understand how to structure the dictionary from the Mega board example, and I saw in the source code how some shortcut classes that inherit from Board are written, but it looks very confusing for me. Could the documentation show a complete example on how to use a customized board?

Otherwise, could a helper function be made to make it simple to initialize a connection (board instance) passing a board layout dict?