New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
does not compile under arduino 1.0 IDE #7
Comments
Ok, It looks like where you do a void write you need to replace it with a size_t write. |
I got the WiFly_Webserver running on my 1.0 wifly board. How does one go about sending the changes to the group? |
The usual process is to fork WiFly-Shield, make your changes to your fork, and then make a pull request. The pull request indicates that you want the maintainer of the WiFly-Shield to review your code and merge your branch from your fork into this fork. Btw, it's good practice to make a branch in your fork and have the changes for just this issue in that branch. Then issue the pull request for this branch into the parent's master and I think you can reference this issue in the pull request. Makes sense? |
@genetikayos, |
I suggest that, instead of cloning this project's tree, you first do project fork in github and then git clone your new fork. That will allow you to upload branches to your own fork and make a pull request from your fork to the parent project. |
You know, on second thought, if your changes aren't extensive, just post a patch. The process I was suggesting is really more if you decide to be a regular contributor and contribute extensive changes over time. If your changes are simple, a patch is easy. |
I have the patch file, but I seem to be running into a timing issue in On a side note, the shield will not work on a MEGA due to pin changes "On the Arduino Duemilanove and other ATmega168 / 328-based boards, |
Any news about this? |
+1 on this |
Yet another +1 |
Been away from my arduino for a while. I will try to put together a patch. I hear your +1's ;-) |
I will send you beer :) |
Yeah, I've been away from this and busy with life for a long while, too. |
Ok, new file mode 100644
|
My system is using a version 1 of the shield. I seem to be getting a problem where the SPI_UART is hanging on the incoming serial stream from the shield. |
Ok,
|
Just did a fork of the git repo, you can find my changes under the jmr13031 fork....... |
I submitted a pull request that will resolve this issue. Its currently pending. |
@jmr13031 : Your fork is working for me, thanks! |
jmr13031 fork is working for me too! many thanks. sparkfun needs to pull this... |
I appreciate that. I've tried contacting them, but its been a bit hard, but if you let their customer service know, that would probably help. Bob Breznak On Wednesday, May 16, 2012 at 8:43 PM, daneo wrote:
|
I will give them a call....
|
Maybe you (@jmr13031) should do a pull-request from your commit? 311156a2ea1226562875e28b40a3d164caa45ada |
Just signed up! Hope you don't mind the questions. As I have nothing else to give for a first timer. I have the mega 1280, wifly 2.23 version and hope to connect to cosm. I have make huge progress, but totally need your help. I am using Arduino 1.0.1 but can use anything to get the wifly to work if you know what i mean. Hope you can all help. SO far it just fails to connect using the wifi _SPI library. I am over the most noobie issues such as the pin config and ssid, pphrase. Basically, i am looking for a mentor. Any help would be appreciated. Especially a tutorial. |
I'm out of town. I'll try to take a look into this near the end of the Sent from my iPhone On Sep 17, 2012, at 12:25 AM, techdetect notifications@github.com wrote: Just signed up! Hope you don't mind the questions. As I have nothing else — |
Thanks for your reply. Tonight i used arduino IDE 23 with mega 1280. I followed mgisolutions.blogspot.com/2012/05/arduino-wifly-shield-tutorial.html. I did the "send the following commands..." section and instead of using my home router ssid, i used the my_adhoc_network. I was able to see that on my internet connection display, yeah... prior to that i did the get everything and copied the ip address of the wifly. followed everything from there on. Uploaded the IDE code (compiled correctly Yeah) and tried to open a browser to get the LED on. NO go here. Some of my issues may be that i only have tx/rx pins, 10-13 pins vin pin and grd pin connected to the arduino and shield. I know that i am suppose to have the shield ontop without 10-13 conected but that was from an earlier tutorial. I am stuck at changing the ip address of my computer and net mask so that i can connect to the web server the wifly is at. Have some suggestions. I feel that i have broken some ground here on my problem. Thanks for your reply so quickly before. I hope your travel goes well. Take care. Tried to go with IDE 1.0 as well from the site. Maybe i am missing something on the webclient/webserver, it hangs on connecting.? Maybe i need to reset the wifly to factory and start over. Thanks again. Keep up the good work. Techdetect.. ----- Original Message ----- I'm out of town. I'll try to take a look into this near the end of the Sent from my iPhone On Sep 17, 2012, at 12:25 AM, techdetect notifications@github.com wrote: Just signed up! Hope you don't mind the questions. As I have nothing else — — |
I'm closing this particular issue as the library has been updated to compile under 1.0+. If you have any additional updates for the library, either submit a pull request or please open a new issue. Thanks all! |
WProgram.h needs to be arduino.h in the 1.0 IDE, Needs something like this in _Spi.h ...
if defined(ARDUINO) && ARDUINO >= 100
include "Arduino.h"
else
include "WProgram.h"
endif
And for some reason, the overloads of "write" function are not working....
In file included from C:\arduino-1.0\libraries\WiFly/WiFly.h:4,
from WiFly_WebServer.cpp:9:
C:\arduino-1.0\libraries\WiFly/SpiUart.h:62: error: conflicting return type specified for 'virtual void SpiUartDevice::write(byte)'
C:\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
In file included from C:\arduino-1.0\libraries\WiFly/WiFly.h:8,
from WiFly_WebServer.cpp:9:
C:\arduino-1.0\libraries\WiFly/Client.h:21: error: conflicting return type specified for 'virtual void Client::write(byte)'
C:\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: error: overriding 'virtual size_t Print::write(uint8_t)'
C:\arduino-1.0\libraries\WiFly/Client.h:23: error: conflicting return type specified for 'virtual void Client::write(const uint8_t_, size_t)'
C:\arduino-1.0\hardware\arduino\cores\arduino/Print.h:50: error: overriding 'virtual size_t Print::write(const uint8_t_, size_t)'
The text was updated successfully, but these errors were encountered: