c语言设置gpio的值


snprintf(commandBuf, COMMAND_BUF_MAX_SIZE, "echo %d > /sys/class/gpio/export ", RESETGPIO);     ret = system(commandBuf);

相关