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

Fixed high cpu using problem #98

Closed ozkansen closed 2 years ago

ozkansen commented 3 years ago

I encountered high CPU usage problem, Low latency increases the load on the CPU, I was able to solve this by increasing the latency of the loops

coveralls commented 3 years ago

Coverage Status

Coverage decreased (-0.1%) to 73.167% when pulling 8491fbc9e008abee970a1f12a9a6ec20aff40301 on ozkansen:Fixed-high-cpu-using-problem into 9770f5e1675ba3503287017cd01a5994b67aa78b on tino:master.