Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #90943

Re: Help for a newbie regarding code & physical switches

Newsgroups comp.lang.python
Date 2015-05-20 00:54 -0700
References <3c0e9762-625e-4740-9717-3ce6dc51df70@googlegroups.com> <mjhc6q$hvt$1@dont-email.me>
Message-ID <c618bb56-11b9-4e3e-a290-4092fa82969c@googlegroups.com> (permalink)
Subject Re: Help for a newbie regarding code & physical switches
From Howard Spink <howi682@googlemail.com>

Show all headers | View raw


Thanks for your help. I want the python to run automatically after boot and show a blank white screen, when a combination of GP10 inputs are HIGH python displays one of 150 JPEGS. Is this possible? what sort of boot times can I get with Arch?


On Wednesday, 20 May 2015 08:14:50 UTC+1, Christian Gollwitzer  wrote:
> Am 20.05.15 um 08:49 schrieb Howard Spink:
> > I have a Pi + SD card with Pi OS + PiTfT screen
> >
> > I am trying to display specific JPEGs when certain combination of GP10 inputs are HIGH. I would like to use Python, I have no background in programming. Can someone point me on the right tracks?
> >
> 
> No bg in programming is not very helpful. I suggest you do some 
> tutorials. For instance, the PiTFT has this:
> 
> https://learn.adafruit.com/downloads/pdf/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi.pdf
> 
> It shows how you can display images from the shell. Next, do a tutorial 
> on Python programming, e.g. https://wiki.python.org/moin/BeginnersGuide 
> - but you shold choose one that fits your way of learning. Maybe there 
> is a RasPI tutorial also, which shows you how to read from the GP ports, 
> I'm too lazy to google it now - just try combinations of API, tutorial, 
> documentation with keywords like RasPI, GP, GP programming etc.
> 
> Finally you can wire this all up. An experienced programmer with no 
> previous knowledge of RasPI can do this within half an hour by reading 
> these guides. Your biggest task is to understand programming. Have fun!
> 
> 	Christian

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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