I am trying out this tutorial here: http://www.instructables.com/id/Orange-Pi-One-Python-GPIO-basic/?ALLSTEPS
Whenever I execute my .py file, I get the error "cannot import name 'gpio'"
This here is the code I use after installing everything else, stated in the tut:
#import the library
from pyA20.gpio import gpio
from pyA20.gpio import port
from time import sleep
#initialize the gpio module
gpio.init()
#setup the port (same as raspberry pi's gpio.setup() function)
gpio.setcfg(port.PA7, gpio.OUTPUT)
#now we do something (light up the LED)
gpio.output(port.PA7, gpio.HIGH)
#turn off the LED after 2 seconds
sleep(2)
gpio.output(port.PA7, gpio.LOW)
I am pretty new to all of this, so please bear with me. Thank you very much.