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:
- 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(); }