GPIO.setmode(GPIO
adriencarbonaro opened this issue · comments
I commented a line on one of your previous commits (#5e5d9). I think this line is needed. What do you think ?
No. You have to set the mode in the file that uses the HX711 class. The reason for this is that the class should be independant of the GPIO mode you are going to use.
Does it make sense? I am opened for the discussion. Thanks
You're actually right and you set it in the first line of your example so that is a good workflow ! Thank you !