Jasmine Karlsson / Mbed 2 deprecated train_rail

Dependencies:   mbed TextLCD

Revision:
31:9d973398554f
Parent:
25:90f7a34c253a
--- a/Switch.cpp	Mon Jun 25 14:57:17 2018 +0000
+++ b/Switch.cpp	Thu Jun 28 15:08:41 2018 +0000
@@ -5,12 +5,12 @@
     //ctor
     address = newaddress;
     inst = newinst;
-    nrPacket = 20;
+    nrPacket = 40;
     if(inst == 0x82)
         nrPacket = 50;
     if(inst == 0x84)// || inst == 0x81)
         switchOn();
-    else
+    //else
         switchOff(); 
     
 }