json output via udp

This commit is contained in:
hg
2015-05-03 20:53:49 +02:00
parent 40e18d4172
commit bbe3e8f9cd
7 changed files with 251 additions and 46 deletions

View File

@ -48,14 +48,18 @@ void modbus_update()
switch (state)
{
case IDLE:
idle();
break;
//Serial.println("mu 1a");
idle();
//Serial.println("mu 1b");
break;
case WAITING_FOR_REPLY:
waiting_for_reply();
break;
//Serial.println("mu 2a");
waiting_for_reply();
//Serial.println("mu 2b");
break;
case WAITING_FOR_TURNAROUND:
waiting_for_turnaround();
break;
waiting_for_turnaround();
break;
}
}