Whats wrong with this?
i found code on youtube, in video system seems work really well. heres code supplied when compile error: sketch_jan26a:145: error: stray '\' in program sketch_jan26a:145: error: expected constructor, destructor, or type conversion @ end of input i know simple , i'll embarrassed when find it! code: [select] #include <ethernet.h> #include <spi.h> byte mac[] = { 0xde, 0xad, 0xbe, 0xef, 0xfe, 0xed }; byte ip[] = { 192, 168, 0, 177 }; byte gateway[] = { 192, 168, 1, 1 }; byte subnet[] = { 255, 255, 255, 0 }; string instring = string(35); string channel; string name[] = {"null","kitchen","living room","hall","closet","bedroom","office"}; //pins 10, 11, 12 , 13 reserved ethernet module. int old[] = {00,0,0,0,0,0,0};//old switch value int swch[] = {00,a0,a1,a2,a3,a4,a5};//switch input pins int arm = 8;//away armed input pin int armed =0;//value of 1 when armed int ...