Go to advanced search

by moran1804
Mon Apr 11, 2016 11:59 am
Forum: Python
Topic: Light Sensor Sound Play
Replies: 3
Views: 903

Re: Light Sensor Sound Play

Hi All,

sorry posted twice, pretty much resolved in the other Topic,

thank you so much for everyones help.

Thanks
Mike M
by moran1804
Mon Apr 11, 2016 9:59 am
Forum: Python
Topic: Light Sensor MP3 Play
Replies: 3
Views: 947

Re: Light Sensor MP3 Play

Wow thats Absolutely Great works just the way i want it too!!! still trying to fully get my head around the code im confused were player.kill() comes from im gathering that will kill whatever the player variable is which is the command to run the sound. what i need to do now is remove the time.sleep...
by moran1804
Sun Apr 10, 2016 10:43 am
Forum: Python
Topic: Light Sensor MP3 Play
Replies: 3
Views: 947

Light Sensor MP3 Play

Hi All, sorry I'm fairly new to python. i have installed a light sensor on the GPIO pins and what i want to happen is when there is light no MP3 to play. when the room goes dark id like it to play the MP3 Looped. i have managed to do just this with IF statements however whilst going through the loop...
by moran1804
Sat Apr 09, 2016 8:37 pm
Forum: Python
Topic: Light Sensor Sound Play
Replies: 3
Views: 903

Light Sensor Sound Play

Hi everyone, im fairly new to python and GPIO, i am using a light sensor and trying to write a script that plays an MP3 when it is dark and the moment the light comes up turns it off, i have tried using IF statements and ended up with it working however it waits till the end of the MP3 when the ligh...

Go to advanced search