helpful comments

Added helpful comments to the demo.py
Fine!
But make sure that there won't be a 3d version. Hmmm, maybe refer to their
revision number/id?


On Sun, Jun 8, 2014 at 11:33 PM, Phil Fenstermacher <
notifications@github.com> wrote:

> In demo.py:
>
> > @@ -5,6 +5,8 @@
> >
> >  GPIO.setmode(GPIO.BCM)
> >
> > +# note: bus must be '0' for the older 256MB raspberry pi's while the newer 512MB should have bus=1
> > +# address must be 0x03 for the V4 of the MOD-1016
>
> I'd like to avoid putting specific implementations here in case adoption
> were to grow. Maintaining an address list in one place seems a little bit
> easier to handle.
>
> How does this work for wording?
>
> # Older Raspberry Pis should leave bus set at 0, while newer Pis should set# bus equal to 1. The address should be changed to match the address of the# sensor. (Common implementations are in README.md)
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/pcfens/RaspberryPi-AS3935/pull/9/files#r13527012>.
>



-- 
www.vanheusden.com  www.slimwinnen.nl  www.debitcoinspecialist.nl