After a few hours of trying this i now working.
I reconnect all the wiring and then it start to work.
It must have been som problem with the wiring.
Now i use Arduino 1.6.5 and develop version of mysensors API.
I had the serial GW running on my veralite for about a year but encountered a few hiccups where Vera would 'lose' the serial port configuration and I would have to reconfigure the serial port for the Vera to see the GW again. I switched to the iBoard Ethernet GW and have had zero issues since.
Hi @the_programmer is Fay from codebender.cc Thank you for using codebender! I just wanted to let you know that one of the sketches you are using in this comment has been deleted and so it is not available for users to view it. Let me know if you have any question. :)
I tried it with the Dallas 1Wire example from this page here.
A friend reported the same, didn´t get it to work.
It´s not the wiring, as it works with other scripts
I converted my old scripts now to 1.5, it´s working
As hek says, read the API documentation.
"Waiting using the Arduino delay() command is not a good idea. It halts all MySensors processing and should be avoided. Instead you should use the provided wait function which calls process() while waiting."
Exchange delay with gw.wait and you should be fine
For me the problem was the hang in setup at gw.begin call.
I solved reading this old topic : http://forum.mysensors.org/topic/773/ethernetgateway-hangs-after-gateway-startup-complete.
@ATXCoder said:
either it was my network connection flaking out and causing a corrupt download
Don't think so; it didn't compile, so it didn't even get to download.
Anyway, glad you fixed it!