You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing on and off the LED on the camera did not work and b +. I realized that the problem was that the pin bcm in raspberry b is 5 and b+ is 32.
I was testing on and off the LED on the camera did not work and b +. I realized that the problem was that the pin bcm in raspberry b is 5 and b+ is 32.
Camera.py added to the line 83 as follows:
if GPIO.RPI_REVISION == 3:
# model b +
PIN = 32
else:
# model a,b
PIN = 5
I changed the line 393:
GPIO.setup (5, GPIO.OUT, initial = GPIO.LOW) by GPIO.setup (PIN GPIO.OUT, initial = GPIO.LOW)
on line 1845:
GPIO.output (5, bool (value)) by GPIO.output (PIN, bool (value))
Congratulations, great job
The text was updated successfully, but these errors were encountered: