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 1:af81e02b8c7b, committed 2016-04-13
- Comitter:
- manitou
- Date:
- Wed Apr 13 11:18:39 2016 +0000
- Parent:
- 0:785739d5a30a
- Commit message:
- edit
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Apr 13 11:14:58 2016 +0000
+++ b/main.cpp Wed Apr 13 11:18:39 2016 +0000
@@ -6,7 +6,6 @@
IR LED xmit pin to 100ohm to +IR - to grnd (short/flat)
use timer 50us to count mark/space on input
is it possible to run both xmit and recv?
-
*/
#include "mbed.h"
#include "IRremote.h"
@@ -20,7 +19,7 @@
PwmOut pwm(PWMPin);
DigitalIn recvpin(RecvPin);
-DigitalOut testpin(TestPin); // jumper to D8 for test
+DigitalOut testpin(TestPin); // jumper to RecvPin for test
DigitalOut myled(LED1);
volatile unsigned long myticks;