Closed bwshockley closed 9 years ago
Thanks, it is true that the c
variable in the example should have been controller
.
I'm not very advanced in Python, but to my eyes, your pull request's corrections make it seem like register()
or start()
are static class methods instead of instance methods, even though it works. So I prefer the controller.start()
syntax as it makes explicit that those are instance methods on a defined controller.
So I am incorporating your changes but adjusting these calls. Thanks again for the improvements!
Minor README changes - when I went to run this on a fresh install of Raspian for Raspberry Pi 2, I ran into issues building because could not be found - installed a -dev version of Python2.7 to fix. Bitstring was also not installed. One other item not installed by default, was pip. However, that isn't 100% necessary for this to run, but makes it easier to install other items.