如题,可以把GPIO作为参数传入函数中么?想在函数内部对gpio进行操作
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.
你好,你是说在函数中操作GPIO口状态?可以的,但是操作GPIO口的寄存器都是受eallow保护的,要添加eallow和edis