28035的GPIO口输出方波,速度多快?为什么我用GPIO口输出方波才4点多M呢?
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.
是用.bit吧。请用.all,如下这样,重试一下:
while(1)
{
GpioDataRegs.GPASET.all=0x0F;
GpioDataRegs.GPACLEAR.all=0X0F;
GpioDataRegs.GPASET.all=0x0F;
GpioDataRegs.GPACLEAR.all=0X0F;
GpioDataRegs.GPASET.all=0x0F;
GpioDataRegs.GPACLEAR.all=0X0F;
GpioDataRegs.GPASET.all=0x0F;
GpioDataRegs.GPACLEAR.all=0X0F;
.....
......
.....
}