Closed WieFel closed 5 years ago
@WieFel Uncomment the #define USE_WINC1500
at the top of your config.h
file. (see here: https://github.com/adafruit/Adafruit_IO_Arduino/blob/master/examples/adafruitio_02_pubsub/config.h#L27)
Are you using a Feather M0 + a WINC 1500 breakout? Or are you using the Adafruit Feather M0 WiFi (integrated Winc1500 module)?
If you're using the M0 WiFi, you do not need to perform the WiFi.setPins
call from your .ino
code, it's added into this library already.
@WieFel Uncomment the
#define USE_WINC1500
at the top of yourconfig.h
file. (see here: https://github.com/adafruit/Adafruit_IO_Arduino/blob/master/examples/adafruitio_02_pubsub/config.h#L27)Are you using a Feather M0 + a WINC 1500 breakout? Or are you using the Adafruit Feather M0 WiFi (integrated Winc1500 module)?
If you're using the M0 WiFi, you do not need to perform the
WiFi.setPins
call from your.ino
code, it's added into this library already.
Thanks, uncommenting #define USE_WINC1500
and removing the WiFi.setPins
call solved the problem!
Hi, I'm running into this issue but when I add #define USE_WINC1500
right after #include "AdafruitIO_WiFi.h"
then I get the following error:
In file included from /Users/userfriendly/Documents/Arduino/libraries/Adafruit_IO_Arduino/src/AdafruitIO_Feed.h:21,
from /Users/userfriendly/Documents/Arduino/libraries/Adafruit_IO_Arduino/src/AdafruitIO.h:22,
from /Users/userfriendly/Documents/Arduino/libraries/Adafruit_IO_Arduino/src/wifi/AdafruitIO_WINC1500.h:21,
from /Users/userfriendly/Documents/Arduino/libraries/Adafruit_IO_Arduino/src/AdafruitIO_WiFi.h:36,
from /Users/userfriendly/Documents/Arduino/neopixel_and_thermometer/config.h:37,
from /Users/userfriendly/Documents/Arduino/neopixel_and_thermometer/neopixel_and_thermometer.ino:20:
/Users/userfriendly/Documents/Arduino/libraries/Adafruit_MQTT_Library/Adafruit_MQTT.h:28: warning: "strncpy_P" redefined
I'm trying to compile the following example from the library: https://github.com/adafruit/Adafruit_IO_Arduino/tree/master/examples/io_home_series/neopixel_and_thermometer
This is on a freshly installed Arduino IDE and latest dependencies
Any pointers on how to compile this?
Arduino board: Adafruit Feather M0
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.9
List the steps to reproduce the problem below (if possible attach a sketch or copy the sketch code in too): I am trying to compile the example adafruitio_02_pubsub for my board. I opened the example project using the Arduino IDE. The only things I modified were the
IO_USERNAME
,IO_KEY
,WIFI_SSID
andWIFI_PASS
fields in the file config.h. In the main file adafruitio_02_pubsub.ino I only added the lineWiFi.setPins(8,7,4,2);
as the first line in thesetup()
function as it is done in the setup guide here: https://learn.adafruit.com/adafruit-feather-m0-wifi-atwinc1500/using-the-wifi-module#check-connections-and-version-7-7However, when compiling the code I get the following error:
I cannot find out what the actual problem is. With earlier versions of the Adafruit IO examples I didn't encounter any problems. All the libraries necessary for using Adafruit board with Arduino IDE (Arduino SAMD Boards, Adafruit SAMD Boards, Adafruit IO Arduino 3.2.0, WiFi101 0.16.0) are uptodate. Any suggestions?