gpiod_direction_output(gpio_rset,1)成功返回0,但是引脚电压并没有发生变化。在终端向该GPIO口写0或者写1是没有问题的。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
gpiod_direction_output(gpio_rset,1)成功返回0,但是引脚电压并没有发生变化。在终端向该GPIO口写0或者写1是没有问题的。
user6394011 说:我用终端控制GPIO写1,然后用这个函数写0是可以的,但是写1不行
你的意思是终端不可以控制,但是通过写死程序可以控制吗?