-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
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? Sign in to your account
Install on Armbian_22.11.0-trunk_Bananapim2zero_bullseye_edge_6.0.9 ends with an error #21
Comments
See if this package can solve your problem |
Banana Pi M2 Zero: Installation: Running a python script: Also |
I won't make any mistakes. Try it |
Thanks, now I need to learn how to write a decent script with gpio4. :-) import RPi.GPIO as GPIO #Set warnings off (optional) #Set Button pins def buttonrec_callback(channel): def buttonpic_callback(channel): #Setup Buttonrec and Buttonpic Set pin 22 to be an input pin and set initial value to be pulled low (off)Set pin 24 to be an input pin and set initial value to be pulled low (off)GPIO.setup(Buttonrec, GPIO.IN, pull_up_down=GPIO.PUD_DOWN) #as long as button 22 is pressed a video is recorded and stored according Motioneye settings #When button 24 is pressed a picture is taken and stored according Motioneye settings
GPIO.cleanup() # Clean up |
None of the above should apply, check out the link below, I tested it on bananapi pro. gpio.init() |
Dear support team,
Is there a method to make this GPIO install works on Armbian_22.11.0-trunk_Bananapim2zero_bullseye_edge_6.0.9
sudo python setup.py install resuls in an error.
/RPi.GPIO_BP/source/event_gpio.c:58: first defined here
collect2: error: ld returned 1 exit status
error: command '/usr/bin/arm-linux-gnueabihf-gcc' failed with exit code 1
Thanks in advance for helping me out
The text was updated successfully, but these errors were encountered: