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.
在网上找的代码,就前面这里看不懂,这三句话到底是什么意思
#define RS HWREGBITW((GPIO_PORTA_BASE + GPIO_O_DATA+(GPIO_PIN_5<<2)), 5)
#define RW HWREGBITW((GPIO_PORTA_BASE + GPIO_O_DATA+(GPIO_PIN_6<<2)), 6)
#define LCDE HWREGBITW((GPIO_PORTA_BASE + GPIO_O_DATA+(GPIO_PIN_7<<2)), 7)
下面的代码是这样:
RS = 0; //GPIOPinWrite(GPIO_PORTC_BASE,GPIO_PIN_7,0x00);
RW = 1; //GPIOPinWrite(GPIO_PORTE_BASE,GPIO_PIN_3,0xFF);
LCDE = 1; //GPIOPinWrite(GPIO_PORTE_BASE,GPIO_PIN_2,0xFF);
我的RS RW LCDE应该接哪个接口?是A的5 6 7还是C的7 E的3 2 ???求助!!!!!!