please see-also Topic 144550, for several ways to access GPIOs. such as, kernel APIs, python scripts, C++ samples.