Hi
First of all, thanks for all the answers.
Started from skratch again. Downloaded the new arduino IDE.Some Libraries (NewPing and Mysensors) and finaly the sketch compiled
I uploaded it to the Nano and then expected to see something on the serial monitor....
Too bad...Oh right. removed slashes for MyDebug and MyDebug_Verbose...
Presto.
Unfortunatly I see in serial monitor:
Starting sensor (RNNNA-, 2.0.0)
TSM:INIT
TSM:RADIO:OK
TSP:ASSIGNID:OK (ID=32)
TSM:FPAR
TSP:MSG:SEND 32-32-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 32-32-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 32-32-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSM:FPAR
TSP:MSG:SEND 32-32-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
!TSM:FPAR:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
Too bad. What have I done wrong? Is it possible to see the distance in serial monitor and to see if a relay turned on or off?
EDIT:
Upgraded my Gateway also to 2.0
Stil no succes
Output from Gateway:
0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSM:RADIO:OK
0;255;3;0;9;TSM:GW MODE
0;255;3;0;9;TSM:READY
0;255;3;0;14;Gateway startup complete.
0;255;0;0;18;2.0.0
0;255;3;0;11;GateWay
0;255;3;0;12;1.0
0;255;3;0;9;No registration required
0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK
0;255;3;0;9;TSP:SANCHK:OK