vanderbiltrobotics / loadcell

0 stars 0 forks source link

Read() should actually wait until data is ready (with a max timeout) #1

Open AWatk opened 6 years ago

AWatk commented 6 years ago

https://github.com/vanderbiltrobotics/loadcell/blob/8dc745d682b358eaba120b0d4945b24330f6ca02/HX711.cpp#L84

something like a while loop with a usleep() and checking if it has timed out