Omega2 LED access from C

Firstly, sorry if I am posting in the wrong place i'm a noob.

I have been trying to use the onboard wifi amber led to show a status from my program. On version 15.x it was possible to do so using the mraa library. Now libgpiod seems the replacement in version 20.x
I cannot find a way to access this led as it is being used by the system. Can I please get some advice as to how I go about this?

You can change this using GPIO:
https://www.kernel.org/doc/html/v4.19/driver-api/gpio/index.html
and using small bash scripting.

Here how i can do this using OrangePi Zero:

I forgot. This document is also valuable:

And of course this one:

Hi Peter,
Thanks for your reply, much appreciated.
I know I can access via sysfs as you are doing with the Orange Pi but with Openwrt 21.02.0 on the Omega2 it is allocated to the system and does not allow access to user - it returns resource busy. I have tried stopping the led service and removed from the /etc/config/system file too but it seems that the kernel is directly using this device and I cannot get access to it easily without building a new kernel which I don't want to do.

Ideally I would prefer to use the new interface based on character devices but even that is off limits it would seem.
If you have any other ideas to point me in the right direction, it would be great.
Mal