Skip to content

Commit

Permalink
Handle WiFi on Adafruit Feather M0 WiFi
Browse files Browse the repository at this point in the history
  • Loading branch information
vickash committed Oct 2, 2024
1 parent 4dcb0d9 commit dea406e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/denko_wifi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
// #define WIFI_NINA

// WiFi101 Boards
#ifdef ARDUINO_SAMD_MKR1000
#if defined(ARDUINO_SAMD_MKR1000) || defined(ADAFRUIT_FEATHER_M0)
#define WIFI_101
#endif

Expand Down Expand Up @@ -117,6 +117,11 @@ void setup() {
DENKO_SERIAL_IF.begin(115200);
while(!DENKO_SERIAL_IF);

// Adafruit Feather M0 Wi-Fi uses different pins.WiFi
#ifdef ADAFRUIT_FEATHER_M0
WiFi.setPins(8,7,4,2);
#endif

// Attempt initial WiFi connection.
connect();

Expand Down

0 comments on commit dea406e

Please sign in to comment.