Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
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
# 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:
Ah - I hadn't realized that had changed for the B+ (haven't got one yet!). I'll get this done for 1.9
Sorry, something went wrong.
Successfully merging a pull request may close this issue.