drewc

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • drewc
    Participant

    Hi…I had some of the same issues but got things compiled and working well under 1.01 by doing the following:

    – Re EthernetDHCP, many of the libraries you need to include are back-level from IDE 1.0.1 and even 1.0. At 1.0, Wiring.h, String.h, WProgram.h and others were folded into Arduino.h. You may need to do as I did with EthernetDHCP.CPP and go into the .CPP files for each of the libraries that V3.01 includes (see the “include” statements in the front of the code) and swap out these deprecated names and replace with “arduino.h”. If you search across the Web for “arduino wiring.h” for example, you will see this mentioned in many examples. This should resolve most if not all of your “not found” and “not in scope” issues.

    Good luck and let us know how this works for you.

    in reply to: Help! Tweet fails with code "0" #1867
    drewc
    Participant

    Good news! The code is now running and tweeting after I modified the way DHCP manages leases. Briefly, I replaced the Ethernet.DHCP syntax with the new (as of Arduino 1.01) Ethernet format, using Ethernet.begin and Ethernet.maintain to start and maintain the DHCP leases. Tried several times and seemed to work well . Thanks again.

    in reply to: Help! Tweet fails with code "0" #1866
    drewc
    Participant

    Rob, here’s is what I am running with:

    – I’m using Botanicalls V3.01 “customize” codebase from here: http://code.google.com/p/botanicalls/downloads/list

    – I have replaced the Twitter token with one I have generated (but also tested with your “@Botanicallstest” token

    – I have also updated some of the associated libraries (e.g., EthernetDHCP, EEProm, TrueRandom) to work with IDE 1.0 (e.g., replaced references to “Wiring.h”, “String.h” and “WProgram.h” with “Arduino.h”)

    – Complies cleanly with Arduino 1.01 (and 1.0 as well)

    – Both Twitter Library and Ethernet Library samples work fine..I am able to set and get DHCP leases and addresses

    – As far as I can tell, the code works ok until I pass to Twitter, where I get the HTTP return status of “0” which the docs tell me means it is not actually getting to Twitter’s server. As I said above, I have tried the @botanicallstest and my own token with no success.

    Thanks for any insights.

    So I’m not sure where things are going wrong…all seems to be working and yet no tweets.

    in reply to: Help! Tweet fails with code "0" #1863
    drewc
    Participant

    Hi Rob – I suspect that either the DHCP lease is not providing a proper IP address, or the Neocat proxy is somehow not happy with what it’s receiving from the Botanicalls code. The former seems unlikely as the above stream indicates what looks like a valid IP, gateway, dns, etc. More likely, I think, is something amiss in the way it’s talking to Twitter via the proxy. I have tested with sample DHCP/DNS code and tested my Neocat token as well — both work. So, I’m not sure where to go next…appreciate any ideas. Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)


New kits are here!

Categories

Pothos Plant Tweets

    Flickr Feed

    www.flickr.com
    More photos or video tagged with botanicalls on Flickr

    Meta