By default, the LED is controlled automatically. You can disable this behaviour by adding --disable-led
in the "User Command Line Arguments" in the IDE. Then you can follow the instructions here https://learn.bela.io/using-bela/technical-explainers/other-uses-of-gpio-pins/ to control it from C++ using the pins you found at the page you linked.