Jasmine Karlsson / Mbed 2 deprecated train_rail

Dependencies:   mbed TextLCD

Revision:
25:90f7a34c253a
Parent:
23:bb57966cb776
Child:
31:9d973398554f
--- a/Switch.cpp	Thu Jun 14 14:47:16 2018 +0000
+++ b/Switch.cpp	Wed Jun 20 09:41:20 2018 +0000
@@ -5,9 +5,9 @@
     //ctor
     address = newaddress;
     inst = newinst;
-    nrPacket = 10;
+    nrPacket = 20;
     if(inst == 0x82)
-        nrPacket = 100;
+        nrPacket = 50;
     if(inst == 0x84)// || inst == 0x81)
         switchOn();
     else