You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to coding and really appreciate you sharing this content. Looking at "example.py"; would it be possible to comment what each of the lines does? For example, trying to understand what "EMULATE_HX711=FALSE" does..
The text was updated successfully, but these errors were encountered:
EMULATE_HX711 is a True/False flag that the user sets at the beginning of the script. If it is True then the hx711 module is imported from a module that emulated the hx711, aka the result is simulated. If EMULATE_HX711=False, as is the case in the example.py script, then the program imports the real hx711 module and will only work if it is run on hardware that has the RPi.GPIO library and HX711 library installed (most likely a Raspberry Pi) and has a HX711 properly connected via the GPIO pins.
I am new to coding and really appreciate you sharing this content. Looking at "example.py"; would it be possible to comment what each of the lines does? For example, trying to understand what "EMULATE_HX711=FALSE" does..
The text was updated successfully, but these errors were encountered: