Hello
I am trying to use an Adafruit WINC1500 WiFi module http://adafru.it/2999 with a Teensy 3.1 but I get these error when I try to compile the examples from the library: https://github.com/adafruit/Adafruit_WINC1500
CheckWiFi101firmwareVersion:
and again when I try to compile ScanNetworks:
Nothing is uploaded to the Teensy. The only change I have made in the source code is to the pin assignments at the top of the code. They compile OK when I use a Uno.
I'm using Arduinio 1.6.7 and Teensy Loader v1.27 on a Mac
Thanks
Karl
I am trying to use an Adafruit WINC1500 WiFi module http://adafru.it/2999 with a Teensy 3.1 but I get these error when I try to compile the examples from the library: https://github.com/adafruit/Adafruit_WINC1500
CheckWiFi101firmwareVersion:
Code:
/Users/km/Documents/Arduino/libraries/Adafruit_WINC1500/src/Adafruit_WINC1500.cpp: In member function 'int Adafruit_WINC1500::hostByName(const char*, IPAddress&)':
/Users/km/Documents/Arduino/libraries/Adafruit_WINC1500/src/Adafruit_WINC1500.cpp:656:14: error: 'class IPAddress' has no member named 'fromString'
if (aResult.fromString(aHostname)) {
^
/Users/km/Documents/Arduino/libraries/Adafruit_WINC1500/src/Adafruit_WINC1500.cpp:691:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
exit status 1
Error compiling.
Code:
Users/km/Documents/Arduino/libraries/Adafruit_WINC1500/src/Adafruit_WINC1500.cpp: In member function 'int Adafruit_WINC1500::hostByName(const char*, IPAddress&)':
/Users/km/Documents/Arduino/libraries/Adafruit_WINC1500/src/Adafruit_WINC1500.cpp:656:14: error: 'class IPAddress' has no member named 'fromString'
if (aResult.fromString(aHostname)) {
^
/Users/km/Documents/Arduino/libraries/Adafruit_WINC1500/src/Adafruit_WINC1500.cpp:691:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
exit status 1
Error compiling.
I'm using Arduinio 1.6.7 and Teensy Loader v1.27 on a Mac
Thanks
Karl