adafruit/adafruit-beaglebone-io-python — pull request #40 by HouseOfBeck (2013-10-11 00:37:06+00:00)
Title: retry read when fscanf error due to resource unavailable

I've found an error in read_value due to a collision in the AIN* file. The result was bad data returned
to the user. I added a simple change to detect the error and retry the read up to 3 times.