Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Switch.cpp
- Revision:
- 25:90f7a34c253a
- Parent:
- 23:bb57966cb776
- Child:
- 31:9d973398554f
diff -r 418711ed8c52 -r 90f7a34c253a Switch.cpp
--- 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
