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.
应该是GPIO34的输出与GPIO18的一样?
如果是其中一个已经提前知道,比如GPIO18是高电平,可以使用GPIO18的DAT寄存器读出该值,之后对应地将GPIO34的SET寄存器置1,反之将CLEAR寄存器置1.
如果是要同时在之两个引脚上输出一样的电平,可以同时使用SET或CLEAR寄存器分别输出高或低电平。