Using pyboard with HX711
Posted: Thu May 14, 2020 2:55 pm
I have a pyboard v1.1 and have tried to use it to interface with an HX711 and load cell. This driver https://github.com/SergeyPiskunov/micropython-hx711 indicates it can be used with an ESP8266 controller but nothing about a regular pyboard, I was unable to find a driver that referenced a pyboard and assumed this driver would work.
When trying to set up the driver in REPL I get this error:
Is it possible to use the HX711 with a pyboard and what driver can I use to get it working?
When trying to set up the driver in REPL I get this error:
Code: Select all
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "hx711.py", line 34, in __init__
TypeError: can't convert 'int' object to str implicitly