Ok I've read the stickies.
This is my error
Arduino: 1.6.8 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\joerack\Documents\Arduino\sketch_jun02a\sketch_jun02a.ino:12:50: warning: narrowing conversion of '858' from 'int' to 'byte {aka unsigned char}' inside { } [-Wnarrowing]
byte mac[] = {0x68, 0x5b, 0x35A, 0xCF, 0xA6, 0x4E};
^
C:\Users\joerack\Documents\Arduino\sketch_jun02a\sketch_jun02a.ino:12:50: warning: large integer implicitly truncated to unsigned type [-Woverflow]
C:\Users\joerack\Documents\Arduino\sketch_jun02a\sketch_jun02a.ino: In function 'void setup()':
C:\Users\joerack\Documents\Arduino\sketch_jun02a\sketch_jun02a.ino:41:35: warning: overflow in implicit constant conversion [-Woverflow]
blink(1000, 999999);
^
C:\Users\joerack\Documents\Arduino\libraries\arduino-master\PubNub.cpp:459:0: warning: "WAIT" redefined [enabled by default]
#define WAIT() do { \
^
C:\Users\joerack\Documents\Arduino\libraries\arduino-master\PubNub.cpp:248:0: note: this is the location of the previous definition
#define WAIT() do { \
^
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp: In member function 'void EthernetClass::begin(uint8_t*, IPAddress, IPAddress, IPAddress, IPAddress)':
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:64:39: error: no matching function for call to 'W5100Class::setIPAddress(IPAddress::&)'
W5100.setIPAddress(local_ip._address);
^
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:64:39: note: candidate is:
In file included from C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:1:0:
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:410:6: note: void W5100Class::setIPAddress(uint8_t*)
void W5100Class::setIPAddress(uint8_t *_addr) {
^
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:410:6: note: no known conversion for argument 1 from 'IPAddress::' to 'uint8_t* {aka unsigned char*}'
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:65:38: error: no matching function for call to 'W5100Class::setGatewayIp(IPAddress::&)'
W5100.setGatewayIp(gateway._address);
^
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:65:38: note: candidate is:
In file included from C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:1:0:
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:386:6: note: void W5100Class::setGatewayIp(uint8_t*)
void W5100Class::setGatewayIp(uint8_t *_addr) {
^
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:386:6: note: no known conversion for argument 1 from 'IPAddress::' to 'uint8_t* {aka unsigned char*}'
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:66:38: error: no matching function for call to 'W5100Class::setSubnetMask(IPAddress::&)'
W5100.setSubnetMask(subnet._address);
^
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:66:38: note: candidate is:
In file included from C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\EthernetV2_0.cpp:1:0:
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:394:6: note: void W5100Class::setSubnetMask(uint8_t*)
void W5100Class::setSubnetMask(uint8_t *_addr) {
^
C:\Users\joerack\Documents\Arduino\libraries\EthernetV2_0\utility/w5200.h:394:6: note: no known conversion for argument 1 from 'IPAddress::' to 'uint8_t* {aka unsigned char*}'
exit status 1
Error compiling for board Arduino/Genuino Uno.This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I'll attach the code,because it's too long
code.txt (5.33 KB)