Hi Folks, Voor een project waar we op het werk mee bezig zijn, ben ik op zoek naar iemand die goed overweg kan met python. Ik zal het hier even verder toelichten, ik werk voor een firma die indoorspeeltuinen plaatst en we zijn zouden een nieuw element willen ontwikkelen voor gebruik in de speeltuine...
Hi pcmanbob, Thanks ever so much, i'll copy the code into my rpi tomorrow and see how it goes. And the time between checks is absolutly no problem. I'll post the feedback as soon as i get a chance to test this code. Thanks a million, Jimmy Seeing as you need this by friday, I think this might work a...
Hi Scotty, Ok thanks for the tip, i'll have a closer look at the documentation you sent. And about the code, you are completely correct :) :) :) Have been fighting with this for a few weeks and before this time i had never used python. :oops: Going to start a python course in a few weeks but till th...
Hi Gareth Think i have bigger problems than the indentation. :D :D I don't even know if i need the else statement. The 3 sensors should start checking at the same time, while projecting the image. So i only have a thing they need to do when they detect movement below the sensor, and when there is no...
Hi Peter, Yeah, i really need to get into the code deeper. ;) Only my boss dumped this on my lap and i have absolutely no previous programming experience :oops: . When i run the program, it starts, projects the first image and the first sensor works, but there it stops, the second and third sensor d...
Hey Folks, I have a problem with a program we are working on. The code below is something we want to use in a small game we are creating at work. Now the idea is that an image is projected onto the floor, and this image is divided into 3 lanes (it has something to do with an interactive traffic circ...
You have saved my life!!!!! Works perfect, thanks ever so much You could use the subprocess module rather than os.system. As an example: import subprocess #Display the image image = subprocess.Popen(["feh", "--hide-pointer", "-x", "-q", "-B", "black", "-g", "1280x800", "/home/pi/images/pic01.jpg"]) ...
Check out PyGame, it does all that stuff & loads of online examples. Dave. Hi, Thanks for the info. I had a look at the pygame but could not get that to work like i needed. import pygame #voor beeld en geluid from time import sleep from pygame.locals import * pygame.init() WIDTH = 1280 HEIGHT = 800...
Hello Everybody, I have a question that i hope somebody can help me with. At work (i work as a designer and IT Manager for a company who designs and installs indoor playgrounds) we are trying work out an idea we have regarding a new play item to use in our playgrounds. The idea was to create a kind ...