Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.084 X-Spam-Evidence: '*H*': 0.83; '*S*': 0.00; 'beginners': 0.09; 'buttons': 0.09; 'curses': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'headaches': 0.16; 'wrote:': 0.16; 'working.': 0.18; 'library': 0.20; 'tried': 0.24; 'header :In-Reply-To:1': 0.24; 'all.': 0.24; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'connected': 0.27; 'turns': 0.27; 'function': 0.28; 'work.': 0.30; 'compared': 0.30; 'certain': 0.31; 'everyone': 0.31; 'everyone.': 0.33; 'message-id:@gmail.com': 0.34; 'worked': 0.34; 'add': 0.34; 'something': 0.35; 'to:addr :python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'thanks': 0.37; 'received:org': 0.37; 'thought': 0.37; 'doing': 0.38; 'end': 0.39; 'sure': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'hello,': 0.40; 'software': 0.40; 'john': 0.61; 'charset:windows-1252': 0.62; 'hear': 0.64; 'here': 0.66; 'decided': 0.66; 'wiring': 0.84; 'glad': 0.87; 'luck': 0.95 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Wed, 15 Jul 2015 13:17:07 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Keypress Input References: <9aypx.126956$r46.110087@fx28.iad> In-Reply-To: <9aypx.126956$r46.110087@fx28.iad> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit 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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1436987838 news.xs4all.nl 2866 [2001:888:2000:d::a6]:52959 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3706 X-Received-Body-CRC: 3298438805 Xref: csiph.com comp.lang.python:93880 On 07/15/2015 01:05 PM, John McKenzie wrote: > Hello, all. > > Thanks to everyone who responded to my post. > > I decided to make sure I had something that worked with what I have now > and used Curses to finish it. However, it turns out that the extra work > and problems with using GPIO pins and wiring up controllers that way is a > small amount of headaches and work compared to what I thought it would be > and the software part is actually easier than doing it this way. So in > the end I will hooking the Raspberry Pi up directly to the buttons and > use the Raspberry Pi's GPIO library to do it all. > > For posterity and in case other beginners want to look at it, here is > what I have with curses that works now. Tried to add a function to cause > it to only work for a certain amount of time and that did not work. Will > worry about that when I do the new programme based off of directly > connected buttons and have those working. > > Thanks everyone. Thanks for the update! Also I am very glad to hear that using GPIO doesn't look very difficult. Good luck on things!