Browse Source

[bsp][nxp][frdm-mcxn236] fix SW btn

This is the SW2 button, a.k.a wakeup button on the board. Another
choice is SW3 a.k.a ISP button which is connected to P0_6.
Jisheng Zhang 1 year ago
parent
commit
63578802b9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c

+ 1 - 1
bsp/nxp/mcx/mcxn/frdm-mcxn236/applications/main.c

@@ -17,7 +17,7 @@
 #include "drv_pin.h"
 
 #define LEDB_PIN        ((4*32)+18)
-#define BUTTON_PIN      ((0*32)+23)
+#define BUTTON_PIN      ((0*32)+20)
 
 static void sw_pin_cb(void *args);