-
Hello, I use the Telemetrix library after having noticed that the basic library "pyfirmata" did not allow me to use easily a HC-SR04 sensor.
All these methods have disappeared from the TELEMETRIX library. Here is my test:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@fguenego Thanks for the question. The Tone library was not included in Telemetrix because the Arduino Uno has limited space, and I wanted to add many more features, such as accelstepper support and SPI. In addition, the Tone library can interfere with PWM operation because it uses Arduino hardware timers. I know this does not meet your needs, but if you need both HC-SR04 support and Tone Library support, you may wish to use pymata4. I archived pymata4 because adding new features to Firmata became more and more difficult. The Telemetrix design made adding new features much simpler and more robust. Hopefully, pymata4 will solve your issue. Please let me know if you have any further questions. |
Beta Was this translation helpful? Give feedback.
@fguenego Thanks for the question. The Tone library was not included in Telemetrix because the Arduino Uno has limited space, and I wanted to add many more features, such as accelstepper support and SPI. In addition, the Tone library can interfere with PWM operation because it uses Arduino hardware timers.
I know this does not meet your needs, but if you need both HC-SR04 support and Tone Library support, you may wish to use pymata4. I archived pymata4 because adding new features to Firmata became more and more difficult. The Telemetrix design made adding new features much simpler and more robust.
Hopefully, pymata4 will solve your issue. Please let me know if you have any further questions.