2018| 6
|
为什么宏定义会出错? |
1金钱
最佳答案#difine LCD_RST_SET() do{GPIO_SetBits(GPIOB,GPIO_Pin_8);}while(0);
或
#difine LCD_RST_SET GPIO_SetBits(GPIOB,GPIO_Pin_8);
你再仔细看看,看哪里写错了!错的很明显!
| ||
| ||
| ||
He who fights with monsters should look to it that he himself does not become a monster, when you gaze long into the abyss, the abyss also gazes into you.
过于执着就会陷入其中,迷失自己,困住自己。 |
||
| ||
| ||
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-6-21 23:32
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网