初版调试完成

This commit is contained in:
2026-06-07 12:31:21 +08:00
parent aab0efdd77
commit 26cccd60a0
7 changed files with 504 additions and 645 deletions
+2 -2
View File
@@ -221,12 +221,12 @@
//< LED
#define LED_GREEN_PORTx (PortA)
#define LED_GREEN_PINx (Pin09)
#define LED_GREEN_PINx (Pin08)
#define LED_GREEN_ON() PORT_SetBits(LED_GREEN_PORTx, LED_GREEN_PINx)//拉高
#define LED_GREEN_OFF() PORT_ResetBits(LED_GREEN_PORTx, LED_GREEN_PINx)//拉低
#define LED_RED_PORTx (PortA)
#define LED_RED_PINx (Pin08)
#define LED_RED_PINx (Pin09)
#define LED_RED_ON() PORT_SetBits(LED_RED_PORTx, LED_RED_PINx)//拉高
#define LED_RED_OFF() PORT_ResetBits(LED_RED_PORTx, LED_RED_PINx)//拉低