Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Relay switches On and Off every cylcle...
Post: RE: Relay switches On and Off every cylcle...

(Nov-29-2017, 05:40 PM)DeaD_EyE Wrote: What you want to use is something like a Schmitt trigger. You can do this as a class because you need the last state. Using global variables is not good. Here...
hotwalk General Coding Help 6 3,428 Nov-29-2017, 05:50 PM
    Thread: Relay switches On and Off every cylcle...
Post: RE: Relay switches On and Off every cylcle...

where do i have to put the textfile? in the folder where the script is located? by the way, ive tried to accomplish the same by: def switch(): humidity, temperature = Adafruit_DHT.read_retry(sen...
hotwalk General Coding Help 6 3,428 Nov-29-2017, 03:10 PM
    Thread: Relay switches On and Off every cylcle...
Post: Relay switches On and Off every cylcle...

import RPi.GPIO as GPIO import Adafruit_DHT from time import sleep GPIO.setwarnings(False) GPIO.setmode(GPIO.BOARD) GPIO.setup(12,GPIO.OUT) GPIO.setup(16,GPIO.OUT) ###LOW = ON HIGH = OFF### sen...
hotwalk General Coding Help 6 3,428 Nov-28-2017, 05:50 PM
    Thread: need help with Python and Blynk on my RaspPi
Post: need help with Python and Blynk on my RaspPi

anyone here has experience with RaspberryPi (3b) + Blynk? My problem is: i want to controll my 8-channel relay over my blynk application. ive figured out how to receive data from my DHT22 sensor on m...
hotwalk General Coding Help 1 2,561 Nov-20-2017, 10:35 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020