info:wiznet_to_pachube_communications
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
info:wiznet_to_pachube_communications [2011/01/29 14:04] – tomgee | info:wiznet_to_pachube_communications [2011/01/29 14:35] (current) – tomgee | ||
---|---|---|---|
Line 32: | Line 32: | ||
// assign a MAC address for the ethernet controller. | // assign a MAC address for the ethernet controller. | ||
// fill in your address here: | // fill in your address here: | ||
- | 026.byte mac[] = { | + | byte mac[] = { |
- | 027. | + | |
- | 028.// assign an IP address for the controller: | + | |
- | 029.byte ip[] = { | + | |
- | 030. | + | |
- | 031.// Assign the address of the server you want to connect to: | + | |
- | 032.byte server[] = { | + | |
- | 033. | + | |
- | 034. | + | |
- | 035.// initialize the library instance: | + | |
- | 036.Client client(server, | + | |
- | 037. | + | |
- | 038.long lastConnectionTime = 0; // last time you connected to the server, in milliseconds | + | |
- | 039.boolean lastConnected = false; | + | |
info/wiznet_to_pachube_communications.1296327887.txt.gz · Last modified: 2011/01/29 14:04 by tomgee