File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,13 @@ void setup() {
97
97
pinMode (15 , INPUT);
98
98
pinMode (21 , INPUT);
99
99
100
+ #if defined(NANO_RP2040_CONNECT)
101
+ pinMode (26 , OUTPUT);
102
+ pinMode (27 , OUTPUT);
103
+ digitalWrite (26 , HIGH);
104
+ digitalWrite (27 , HIGH);
105
+ #endif
106
+
100
107
pinMode (5 , INPUT);
101
108
if (digitalRead (5 ) == LOW) {
102
109
setupBluetooth ();
@@ -121,7 +128,7 @@ void setupBluetooth() {
121
128
esp_bt_controller_config_t btControllerConfig = BT_CONTROLLER_INIT_CONFIG_DEFAULT ();
122
129
123
130
btControllerConfig.hci_uart_no = UART_NUM_1;
124
- #ifdef UNO_WIFI_REV2
131
+ #if defined( UNO_WIFI_REV2) || defined(NANO_RP2040_CONNECT)
125
132
btControllerConfig.hci_uart_baudrate = 115200 ;
126
133
#else
127
134
btControllerConfig.hci_uart_baudrate = 912600 ;
You can’t perform that action at this time.
0 commit comments