Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90975
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Subject | Re: Help for a newbie regarding code & physical switches |
| Date | 2015-05-20 14:50 -0400 |
| References | <3c0e9762-625e-4740-9717-3ce6dc51df70@googlegroups.com> <mjhc6q$hvt$1@dont-email.me> <c618bb56-11b9-4e3e-a290-4092fa82969c@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.182.1432147828.17265.python-list@python.org> (permalink) |
On 5/20/2015 3:54 AM, Howard Spink wrote: > Thanks for your help. I want the python to run automatically after > boot and show a blank white screen, This part if for a RasPy group. > when a combination of GP10 inputs > are HIGH python displays one of 150 JPEGS. Is this possible? Number the n inputs 0 to n-1. Give input i the 'value' of 2**i. Sum the values of the hi inputs to get an integer. (Actually, flip the corresponding bits of an int that starts at 0). Create a list jpeg of jpegs, so that jpeg[k] is the jpeg to display when the corresponding set of inputs are high. > what sort of boot times can I get with Arch? Back to RasPy. -- Terry Jan Reedy
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Help for a newbie regarding code & physical switches Howard Spink <howi682@googlemail.com> - 2015-05-19 23:49 -0700
Re: Help for a newbie regarding code & physical switches Christian Gollwitzer <auriocus@gmx.de> - 2015-05-20 09:14 +0200
Re: Help for a newbie regarding code & physical switches Howard Spink <howi682@googlemail.com> - 2015-05-20 00:54 -0700
Re: Help for a newbie regarding code & physical switches alister <alister.nospam.ware@ntlworld.com> - 2015-05-20 08:46 +0000
Re: Help for a newbie regarding code & physical switches Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-05-20 08:17 -0400
Re: Help for a newbie regarding code & physical switches Terry Reedy <tjreedy@udel.edu> - 2015-05-20 14:50 -0400
csiph-web