Skip to content

Commit 37a603d

Browse files
author
brentru
committed
fix WINC1500 pins, tested on m0 wifi feather
1 parent d3aab91 commit 37a603d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/wifi/AdafruitIO_WINC1500.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
class AdafruitIO_WINC1500 : public AdafruitIO {
2525

2626
public:
27-
AdafruitIO_WINC1500(const char *user, const char *key, const char *ssid, const char *pass, int winc_cs = 8, int winc_irq = 4, int winc_rst = 4, int winc_en = 2) : AdafruitIO(user, key)
27+
AdafruitIO_WINC1500(const char *user, const char *key, const char *ssid, const char *pass, int winc_cs = 8, int winc_irq = 7, int winc_rst = 4, int winc_en = 2) : AdafruitIO(user, key)
2828
{
2929
_winc_cs = winc_cs;
3030
_winc_irq = winc_irq;
@@ -80,7 +80,6 @@ class AdafruitIO_WINC1500 : public AdafruitIO {
8080

8181
void _connect()
8282
{
83-
8483
WiFi.setPins(_winc_cs, _winc_irq, _winc_rst, _winc_en);
8584

8685
// no shield? bail

0 commit comments

Comments
 (0)