... inside the Loop
Mac Address Print Out = mac=DE:AD:BE:EF:FE:ED
IP Address Print Out = ip=192.168.3.177
Unitid Address Print Out = unitid=1000
Connecting to network
Mac: DE:AD:BE:EF:FE:ED
IP: 192.168.3.177
Unitid: 1000
IP Address Set = 192.168.3.177
good evening
i have tried to compile this sketch with arduino 1.5.8 and 1.6.0 and wont work
the error i got is:
Arduino: 1.5.8 (Windows 8), Board: "Arduino Uno"
network_sdcard.ino: In function 'void setup()':
network_sdcard.ino:123:1: error: unable to find a register to spill in class 'NO_REGS'
network_sdcard.ino:123:1: error: this is the insn:
(insn 160 157 163 7 (set (mem:QI (post_dec:HI (reg/f:HI 32 SP_L)) [0 S1 A8])
(subreg:QI (reg/f:HI 183) 1)) network_sdcard.ino:79 1 {pushqi1}
(expr_list:REG_ARGS_SIZE (const_int 1 [0x1])
(nil)))
network_sdcard.ino:123: confused by earlier errors, bailing out
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
anyone know why?
tank you
this is the code what`s working on ide 1.5
in ide 1.6 seems like have to be modified like this:
sscanf(buffer, "mac=%x:%x:%x:%x:%x:%x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]);
sscanf(buffer, "ip = %u.%u.%u.%u", ip[0], ip[1], ip[2], ip[3]);
and then is working
sorry for hijacking someone else`s topic
have a great one