I recently aquired a banana pi-m3 and after a very rough start I managed to get it to boot. I have now come across another problem being that whatever I try, I cannot get the gpio pins to say OUT rather than IN and I get no errors. I am using python, rpi.gpio (for banana pi), and my power supply is fine. This is my test code, designed to make an LED blink:
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM)
GPIO.setup(26, GPIO.OUT)
while True:
GPIO.output(26, True)
time.sleep(0.5)
GPIO.output(26, False)
time.sleep(0.5)
I have tried GPIO.setmode(BOARD) and using each method, checked all the pins for that output while the program was running.