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.
Revision 3:65b6e5b2be31, committed 2019-05-15
- Comitter:
- ThunderSoft
- Date:
- Wed May 15 13:13:42 2019 +0000
- Parent:
- 2:4b5ebf838a40
- Commit message:
- Cancel delay.
Changed in this revision
| PirSensor/PirSensor.cpp | Show annotated file Show diff for this revision Revisions of this file |
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/PirSensor/PirSensor.cpp Fri Apr 26 09:28:51 2019 +0000 +++ b/PirSensor/PirSensor.cpp Wed May 15 13:13:42 2019 +0000 @@ -3,7 +3,7 @@ #if defined(__TT_M4G9__) -#define DEFAULT_DOR_PIN PL0 +#define DEFAULT_DOR_PIN PK1 #endif
--- a/main.cpp Fri Apr 26 09:28:51 2019 +0000
+++ b/main.cpp Wed May 15 13:13:42 2019 +0000
@@ -19,9 +19,7 @@
static void pirHandle()
{
- testLed = 1;
- wait_ms(5000);
- testLed = 0;
+ testLed = !testLed;
}
int main()