Show Posts
Pages: [1]
1  Using Arduino / Networking, Protocols, and Devices / Re: WiFi Shield + arduino uno, can't get it to work on: January 01, 2013, 05:10:24 pm
I am puzzled: to re-download the whole thing seemed to be the right thing - I got much further and am able to compile and upload now. So first of all: thank you!!
The "official" product wiki (http://www.seeedstudio.com/wiki/Wifi_Shield_V1.0) shows a different resource, which I am not able to get working. But even with "your" libraries files and the included sketch SpiUartTerminal.pde, I get stuck with "attempting to connect to spi uart" on the Serial Monitor in indefinite loop. And the official site does not help, since they address code that does not work.
btw this hint was helpful to me: https://forum.sparkfun.com/viewtopic.php?f=13&t=23498&start=90#p123513
2  Using Arduino / Networking, Protocols, and Devices / Re: WiFi Shield + arduino uno, can't get it to work on: December 30, 2012, 04:50:09 pm
-and this is my next hurdle (Arduino Uno, WiFi Shield v1.0 by seeed studio, Mac OS 10.5.8 ) smiley-confuse
I still cannot compile /WiFly/examples/TCP.ino
ErrorMsg is:


/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard -I/Users/.../Documents/Arduino/libraries/WiFly -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial /var/folders/6d/6d+RPaKFHtOawWI5h+drJU+++TI/-Tmp-/build5496097974046204780.tmp/TCP.cpp -o /var/folders/6d/6d+RPaKFHtOawWI5h+drJU+++TI/-Tmp-/build5496097974046204780.tmp/TCP.cpp.o
In file included from TCP.ino:1:
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:1: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:1: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:1: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:1: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:1: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:2: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:2: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:2: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:2: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:3: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:3: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:3: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:3: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:4: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:5: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:5: error: stray '\' in program
In file included from TCP.ino:1:
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:5:51: warning: missing terminating ' character
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:5: error: missing terminating ' character
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:6: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:6: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:6: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:6: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:7: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:8: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:8: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:8: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:8: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10: error: stray '\' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10: error: stray '#' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10:34: warning: backslash-newline at end of file
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10: error: stray '#' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10: error: stray '#' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10: error: stray '#' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10: error: stray '#' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:10: error: stray '#' in program
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:20:1: warning: multi-line comment
/Users/.../Documents/Arduino/libraries/WiFly/Wifly.h:1: error: expected unqualified-id before '{' token


There is no backslash in the code of Wifly.h - can someone help me, please? Thank you!
3  Using Arduino / Networking, Protocols, and Devices / Re: WiFi Shield + arduino uno, can't get it to work on: December 30, 2012, 12:31:26 pm
Thank you, solved it: I had WiFly.h instead of Wifly.h, -- a capital letter did the trick. sorry for bothering, I had tried a lot...--
 It still gives me a million error messages, so I will come back here for sure...  smiley-kitty
4  Using Arduino / Networking, Protocols, and Devices / WiFi Shield + arduino uno, can't get it to work on: December 30, 2012, 06:38:00 am
Hi, I am new to arduino and try to get the wifi shield v.1.0 (3/27/2012) to work.
Arduino 1.0.3 on Mac OSX 10.5.8 does find the TCP xample in the Sketchbook files, does also find the libraries path Arduino/libraries/, but does not read the WiFly.h etc.

The Error msg upon compiling:
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega328p -DF_CPU=16000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=103 -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/cores/arduino -I/Applications/Arduino.app/Contents/Resources/Java/hardware/arduino/variants/standard -I/Applications/Arduino.app/Contents/Resources/Java/libraries/SoftwareSerial /var/folders/6d/6d+RPaKFHtOawWI5h+drJU+++TI/-Tmp-/build76399733772759409.tmp/TCP.cpp -o /var/folders/6d/6d+RPaKFHtOawWI5h+drJU+++TI/-Tmp-/build76399733772759409.tmp/TCP.cpp.o
TCP.ino:1:19: error: Wifly.h: No such file or directory
TCP:3: error: 'WiflyClass' does not name a type
TCP.ino: In function 'void setup()':
TCP:8: error: 'Wifly' was not declared in this scope
TCP.ino: In function 'void loop()':
TCP:17: error: 'Wifly' was not declared in this scope
TCP:23: error: 'Wifly' was not declared in this scope

When I use WiFi ConnectWithWPA from the Example sketches instead, Arduino returns "WiFi shield not present"


What am I missing? :?: Thx for help!
Pages: [1]