恢复433接收引脚为GPIO5

This commit is contained in:
2026-08-03 13:23:27 +08:00
parent f71c3f4124
commit 5e921a1546
30 changed files with 71 additions and 94 deletions
@@ -100,7 +100,7 @@
#define RF_DATA xc_gpio_read_pin(RF433_PIN) //RF433接收引脚,根据具体单片机定义引脚
#define RF433_PIN GPIO_18 //RF433接收引脚,与DWM11硬件配置一致
#define RF433_PIN GPIO_5 //RF433接收引脚,根据具体单片机定义引脚
#define RF_dd GPIO_0 //
@@ -453,9 +453,9 @@ int main(void)
// gpio_pullup_input_inter_test();
adc_Init();
external_key_init();
/* Keep GPIO18 RF433 initialization last, after debug UART setup. */
/* Keep RF433 GPIO initialization after the other input setup. */
rf433_gpio_init();
/* Clear UART-to-GPIO transition pulses after GPIO18 is stable. */
/* Clear any startup transition pulses after RF433 GPIO is stable. */
rf433_decoder_init();
while (1){
//DEBUG("222\r\n");