I'm starting with a project with my rpi 3 that concocts using engines connected to the gpio pins of rpi3!
In my code there are some errors connected to the mode of the pins, but I do not know how to solve, SOMEONE COULD GIVE A HELP?
import RPi.GPIO as gpio
def up():
gpio.setmode(gpio.BCM)
gpio.output(7,False)
gpio.output(11,True)
gpio.output(13,False)
gpio.output(15,True)
up()
gpio.cleanup()