The Github download blues #16317
-
I'm trying to setup a HX710 driver on an esp32. I downloaded the files from https://github.com/robert-hh/hx710 & put them in a 'hx710' folder on the esp32 then tried to run the first line of a sample program.
So I'm thinking there is something about how github works that I don't understand? Is there some install process required rather than simply copying the files onto the esp32? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 13 replies
-
try: |
Beta Was this translation helpful? Give feedback.
-
You could do it in different ways. Importing is always done from a directory contained in the
All of that is standard Python behavior and not related to any specific module. Note: Please prefer hx710_gpio.py or hx710_pio.py, as the return more precise values. |
Beta Was this translation helpful? Give feedback.
try:
from hx710_gpio import HX170
or
from hx710_pio import HX170
or
from hx710_spi import HX170