mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
updated addresses for Pachube.com in Ethernet examples
This commit is contained in:
parent
fa3728ea03
commit
b4f2bd9761
@ -28,7 +28,7 @@ byte mac[] = {
|
|||||||
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
|
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
|
||||||
// assign an IP address for the controller:
|
// assign an IP address for the controller:
|
||||||
byte ip[] = {
|
byte ip[] = {
|
||||||
192,169,1,20 };
|
192,168,1,20 };
|
||||||
byte gateway[] = {
|
byte gateway[] = {
|
||||||
192,168,1,1};
|
192,168,1,1};
|
||||||
byte subnet[] = {
|
byte subnet[] = {
|
||||||
@ -36,7 +36,7 @@ byte subnet[] = {
|
|||||||
|
|
||||||
// The address of the server you want to connect to (pachube.com):
|
// The address of the server you want to connect to (pachube.com):
|
||||||
byte server[] = {
|
byte server[] = {
|
||||||
209,40,205,190 };
|
173,203,98,29 };
|
||||||
|
|
||||||
// initialize the library instance:
|
// initialize the library instance:
|
||||||
Client client(server, 80);
|
Client client(server, 80);
|
||||||
|
@ -30,7 +30,7 @@ byte mac[] = {
|
|||||||
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
|
0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED};
|
||||||
// assign an IP address for the controller:
|
// assign an IP address for the controller:
|
||||||
byte ip[] = {
|
byte ip[] = {
|
||||||
192,169,1,20 };
|
192,168,1,20 };
|
||||||
byte gateway[] = {
|
byte gateway[] = {
|
||||||
192,168,1,1};
|
192,168,1,1};
|
||||||
byte subnet[] = {
|
byte subnet[] = {
|
||||||
@ -38,7 +38,7 @@ byte subnet[] = {
|
|||||||
|
|
||||||
// The address of the server you want to connect to (pachube.com):
|
// The address of the server you want to connect to (pachube.com):
|
||||||
byte server[] = {
|
byte server[] = {
|
||||||
209,40,205,190 };
|
173,203,98,29 };
|
||||||
|
|
||||||
// initialize the library instance:
|
// initialize the library instance:
|
||||||
Client client(server, 80);
|
Client client(server, 80);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user