The Wiki page for the Intel Aero has some errors. In particular, for the Green LED, the export line in the code is for the wrong channel. Assuming channel 397 is correct, the code should be:echo 397 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio397/direction
echo 1 > /sys/class/gpio/gpio397/value
Likewise for the Blue LED, the export line is also wrong. Assuming channel 403 is correct, the code should be:echo 403 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio403/direction
echo 1 > /sys/class/gpio/gpio403/value
Thanks for reporting that, we appreciate it. The correct pin for the green LED should be 341 and for the blue LED should be 347 according to the https://www.intel.com/content/dam/support/us/en/documents/boardsandkits/aero/intel-aero-compute-boar... Intel® Aero Compute Board Hardware Features and Usage (page 16).
We would like to let you know that we have submitted that information to the appropriate team, so they can be aware of error and may correct it.
That's interesting, because when I use 341 and 347 on the Intel RTF Drone those two LEDs do not work. When I use 397 and 403 they do work. Has the hardware changed?
I think this change is because of the software (BIOS and OS image) version you use. This documentation https://github.com/intel-aero/meta-intel-aero/wiki/LEDs https://github.com/intel-aero/meta-intel-aero/wiki/LEDs refers to the official software BSP released v01.00.04 on 12/20/2016. Looking at the new documentation https://github.com/intel-aero/meta-intel-aero/wiki https://github.com/intel-aero/meta-intel-aero/wiki, more specifically in "https://github.com/intel-aero/meta-intel-aero/wiki/04-Autonomous-drone-programming-in-Python Autonomous drone programming in Python" sections has code to control the Aero board LEDs and states that the green LED is 397 and the blue one is 403 as you have mentioned.
I'll also submit the information regarding the discrepancies with the Aero Compute board hardware feature and usage.
Hope this information helps.