Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!goblin1!goblin.stu.neva.ru!uio.no!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.050 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'message-id:@4ax.com': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Help': 0.10; 'advanced,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'url:home': 0.18; '2015': 0.20; 'sep': 0.22; 'code.': 0.23; 'leave': 0.23; 'header:X-Complaints- To:1': 0.26; 'figure': 0.27; 'error': 0.27; 'about.': 0.29; 'there.': 0.30; "i'm": 0.30; 'code': 0.30; "i'd": 0.31; 'run': 0.33; 'surprised': 0.33; "year's": 0.33; 'next': 0.35; 'could': 0.35; 'something': 0.35; 'but': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'thought': 0.37; 'charset:us-ascii': 0.37; 'to:addr:python.org': 0.40; 'care': 0.60; 'your': 0.60; 'john': 0.61; 'skip:u 10': 0.61; 'more': 0.63; 'believe': 0.66; 'decided': 0.66; '>of': 0.84; 'hmm...': 0.84; 'dennis': 0.91; 'received:108': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: RPI.GPIO Help Date: Sun, 13 Sep 2015 12:24:35 -0400 Organization: IISS Elusive Unicorn References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-68-178-61.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1442161486 news.xs4all.nl 23842 [2001:888:2000:d::a6]:33284 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:96509 On Sun, 13 Sep 2015 06:08:54 GMT, John McKenzie declaimed the following: > Dennis, I must have learned allot recently as I believe I understood 99% >of that code. I see how it is not just more advanced, but actually better >than what I had. However, line 47 (cumTime[colour] += now - changeTime) >had an error I could not figure out what to do about. Considering my time >line I decided not to leave it to latter. Will be using these electronic >flags at next year's game and for then I intend to just be better about >everything. Will use your code to learn to get there. > Hmm... Thought I'd taken care of uninitialized conditions but -- since I couldn't run it on my desktop machine, I'm not surprised something may have crept into the code. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/