Go to advanced search

by birdman1984
Thu Mar 03, 2016 7:43 am
Forum: Python
Topic: Python help coding
Replies: 4
Views: 1086

Re: Python help coding

would something like this work i wounder. not sure how to exactly code. My thinking would have it read another py file like the one i use for my webpage interface import RPi.GPIO as GPIO import time GPIO.setwarnings(False) GPIO.setmode(GPIO.BOARD) GPIO.setup(11, GPIO.OUT) GPIO.setup(12, GPIO.OUT) GP...
by birdman1984
Wed Mar 02, 2016 7:21 am
Forum: Python
Topic: Python help coding
Replies: 4
Views: 1086

Re: Python help coding

Thanks major tom. Now I wish i new even more about coding so i could run all of this together because the light switch code runs in a loop, it overrides the web page script. The simple solution would be 2 sets of relays and wire them like a 3 way switch. If anyone wants to take this on I would appre...
by birdman1984
Tue Mar 01, 2016 7:23 am
Forum: Python
Topic: Python help coding
Replies: 4
Views: 1086

Re: Python help coding

thanks but when i run the script and flip the switch the script stops, it returns me to the terminal and then it wount run again unless i change pins.
by birdman1984
Mon Feb 29, 2016 10:30 am
Forum: Python
Topic: Python help coding
Replies: 4
Views: 1086

Python help coding

Would like some help coding a python script. I have the raspberry pi 2 board. Through web page submit that runs a python script via php, i have made a light controller for yard lights. What i am after is coding that i can wire a light switch to the board to activate lights with out use of the web pa...

Go to advanced search