PINE64

Full Version: Simple GPIO/LED project help (SOLVED)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm trying to turn a LED on and off with ATSG commands. I want to make sure I've wired it up right (this is how I test GPIO on my Duo):
  • 220Ω resistor to the anode, then other end of resistor to 3.3 V external rail
  • cathode of the LED to GA3
Tried ATSG=W,PA_3,1,1 and ATSG=W,PA_3,0,1, but nothing happens.

Does the wiring look right? Is there a list of GPIO pin names for ATSG?
OK, I was able to get it working using GC4 and used ATSG=W,PC_4,0,1 to turn LED on.
[attachment=1110]