-
-
Notifications
You must be signed in to change notification settings - Fork 39
Comments
As further explanation: I use one of those big Buttons (100 mm) with a built in LED for my photobooth. At the moment I just put the LED on the 3v3 pin so that it is permanently on. The idea was to use a GPIO instead, which is set to HIGH normally and only changes to LOW during the countdown. So you would have a visual feedback when the trigger is working again. |
Hey and sorry for the late response. |
i wrote 2 python scrips import RPi.GPIO as GPIO # Funktionen fuer die GPIO-Ansteuerung laden
import time # fuer sleep() (Pause) noetig
GPIO.setmode(GPIO.BCM) # die GPIO-Pins im BCM-Modus ansprechen
led=18 # unsere LED haengt an BCM-Pin 14
GPIO.setup(led, GPIO.OUT) # in den LED-Pin wird "geschrieben"
GPIO.output(led, GPIO.HIGH) # LED-Pin auf High (+3.3V) setzen = einschalten this for switching the led on and import RPi.GPIO as GPIO # Funktionen fuer die GPIO-Ansteuerung laden
import time # fuer sleep() (Pause) noetig
GPIO.setmode(GPIO.BCM) # die GPIO-Pins im BCM-Modus ansprechen
led=18 # unsere LED haengt an BCM-Pin 14
GPIO.setup(led, GPIO.OUT) # in den LED-Pin wird "geschrieben"
GPIO.output(led, GPIO.LOW) # LED-Pin auf High (+3.3V) setzen = einschalten for switching the LED off then I'm running works so far :) |
This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions. |
This issue has been automatically closed because of inactivity. You can re-open it if needed. |
…arn/bl-3.0.1 build(deps): bump bl from 3.0.0 to 3.0.1
Is it possible to provide one or more GPIO for LED in hardware buzzer? It would be pretty cool if the LED goes off during the countdown or flashes increasingly faster and faster.
The text was updated successfully, but these errors were encountered: