How does jetson nano control gpio high and low level

I am a nano novice, and I have a nano core board of model P3448. I want to operate the high and low level of pin 228. How do I operate it?

Moving this to the Jetson Nano forum.

hello tiancai1234,

you may enable GPIOs manually via system nodes,
for example,
you may generate gpio220 name, i.e. echo 220 > /sys/class/gpio/export
using commands to enable the GPIO within the gpio220 nodes. i.e. echo out > direction or echo 1 > value

there’s Jetson-GPIO python library to configure the system and run the provided sample applications, and the library API.
please also refer to discussion thread, Topic 144550, for several ways to access GPIOs. such as, kernel APIs, python scripts, C++ samples.