Tell us about yourself!
ok so i got the code working mate , it was an issue for my python so i changed it to this & it worked (File_to_play == 1): i had taken the spaces out of this .... if File_to_play == 1: also i see what you mean the relays come on & stay on constantly , i will further test this tonight :)
hi mate i tried it straight into terminal & it still says the same error , ill have a play around with it tonight :) thanks .
Hi thanks for the update , i think it may possibly be an issue with my pi v4 as the Mu IDE keeps giving me a syntax error when i check it & try to play it in terminal also in the Mu editor i get this error below still even when i cahge the code or delete the line of code it says is incorrect it moves the error to the next line of code. strange lol File "/home/pi/my_python/Halloween_Control (1).py", line 107 if (File_to_play == 1): ^TabError: inconsistent use of tabs and spaces in indentation>>>
awesome mate thanks , will give this a go this week , thanks
Hi thanks for the code , i did try this but i now keep getting the error below when going to run ..... think i have missed something lol t.File "/home/pi/Desktop/Halloween_Control.py", line 106 if File_to_play == 1: ^TabError: inconsistent use of tabs and spaces in indentation>>>
haha awesome mate thank you no rush :) .
hi i have this code working correctly now thanks, gpio pir is set but no relay values , do we input these ourselves ? thanks
Hi mate thanks for the reply , I currently have a raspberry pi 4 running Raspbian Buster I have a 4 channel relay board & standard pir
thanks i have downloaded & followed the instruction but i keep getting this error in the raspberry pi terminal below ... IndentationError: unindent does not match any outer indentation levelany ideas ? thanks
Thanks mate going to try this on the new raspberry pi later .