Jump to content









Photo

Cannot get example sketch to work with defaultDevice


  • Please log in to reply
1 reply to this topic

#1 countedworm

countedworm

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 05 March 2018 - 11:44 PM

I've been trying to get the arduino example sketch sendStream.ino to work from my arduino uno and ethernet shield. The only item i have changed in the code is my API key and device id, nothing is showing im my streams.

 

Something I'm doiong must be seriously wrong if even the example sketch doesn't work?! Any ideas? I can ping the Arduino from my laptop so the ethernet is working.



#2 countedworm

countedworm

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 05 March 2018 - 11:49 PM

Okay so I needed to include

 

IPAddress dnServer(192, 168, 1, 254);
IPAddress gateway(192, 168, 1, 254);
IPAddress subnet(255, 255, 255, 0);





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users