OUTPUT-GPIO-max-4-PINs device no longer working

Posted on
Mon Jul 10, 2017 2:21 pm
Hackencrash offline
User avatar
Posts: 246
Joined: Dec 16, 2015
Location: UK

Re: OUTPUT-GPIO-max-4-PINs device no longer working

Fixed it! :D In ~/pibeacon/setGPIO.py I modified the following command:
Code: Select all
delayStart = max(0,calcStartTime(command,"startAtDateTime")-time.time())
to:
Code: Select all
delayStart = max(0,U.calcStartTime(command,"startAtDateTime")-time.time())
It was missing the "U." prefix reference to piBeaconUtils.py

Posted on
Tue Jul 25, 2017 5:00 am
Hackencrash offline
User avatar
Posts: 246
Joined: Dec 16, 2015
Location: UK

Re: OUTPUT-GPIO-max-4-PINs device no longer working

Thanks Karl - I see this has now been fixed in v7-63-125

Posted on
Tue Jul 25, 2017 6:19 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: OUTPUT-GPIO-max-4-PINs device no longer working

his should be fixed in the latest version it should read:
delayStart = max(0,U.calcStartTime(command,"startAtDateTime")-time.time())
not
delayStart = max(0,calcStartTime(command,"startAtDateTime")-time.time())

Karl

Who is online

Users browsing this forum: No registered users and 4 guests