pcfens/RaspberryPi-AS3935 — pull request #7 by flok99 (2014-06-08 22:32:40+00:00)
Title: update for V4

V4 of the module has a problem where the first attempt to read register 0 fails (this is documented on their website).
I've solved that by simply catching an IOError exception and then retrying the command.
Tested it and it works.