int main(void) { LED_Init(); KEY_Init(); GPIO_SetBits(GPIOB,GPIO_Pin_5); while(1) { if(GPIO_ReadInputDataBit(GPIOC,GPIO_Pin_13)==1) { GPIO_ResetBits(GPIOB,GPIO_Pin_5); } } } A.按下K1,点亮红灯B.按下K1,点亮蓝灯C.按下K2,点亮红灯D.按下K2,点亮蓝灯 相关知识点: 试题...
GPIO A0 is used for reading switch status of the rotary encoderKeypad4x4 matrix keypad, 4$ on ebay. The keypad is HUGE compared to the other parts, but I could not find any smaller (while equally cheap) ones ![keypad]({{ site.baseurl }}/assets/images/BlueKey/keypad.png)Bluet...
<string>Intel Sunrise Point-LP PCI Express Root Port #1</string> </dict> <key>PciRoot(0x0)/Pci(0x1c,0x4)</key> <dict> Expand Down Expand Up @@ -353,7 +353,7 @@ <key>Disabled</key> <false/> <key>MatchOS</key> <string>10.15.x</string> <string>10.15.x,10.16.x</string...
None 5. */ 6. int main(void ) 7. { 8. /* config the sysclock to 72m */ 9. SystemInit(); 10. 11. /* config the led */ 12. LED_GPIO_Config(); 13. LED1( ON ); 14. 15. /* exti line config */ 16. EXTI_PB0_Config(); 17. 18. /* wait interrupt */ 19. while...
CPU板以Atmel AT91SAM9G20微处理器为核心,通过总线和GPIO分别与64 MB SDRAM、16 MB Norflas和FPGA A3P250接口。板上大容量CF卡安装有FAT文件系统,用于地震波形数据的本地存储。网络接口提供远程登录、数据传输及系统控制功能,包括实时数据流传输。LCD屏显示系统工作参数,如温度、经纬度、高程、系统网络IP地址等信息...