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: interfaces.cpp
- Revision:
- 2:bf3a2b29259a
- Parent:
- 1:d5452e398b76
- Child:
- 5:1775b4b13232
diff -r d5452e398b76 -r bf3a2b29259a interfaces.cpp
--- a/interfaces.cpp Tue Sep 14 21:02:04 2010 +0000
+++ b/interfaces.cpp Tue Dec 14 21:50:35 2010 +0000
@@ -38,9 +38,9 @@
DigitalInOut PIN_BKPT(p22); // breakpoint/serial clock
DigitalInOut PIN_RESET(p23); // reset signal
DigitalInOut PIN_DSI(p24); // data input (to ECU) signal
-DigitalIn PIN_DS(p25); // data strobe signal (not used)
+DigitalIn PIN_DSO(p25); // data output (from ECU) signal
DigitalIn PIN_FREEZE(p26); // freeze signal
-DigitalIn PIN_DSO(p27); // data output (from ECU) signal
+//DigitalIn PIN_DS(p27); // data strobe signal (not used)
//LEDS
@@ -54,7 +54,7 @@
Ticker ticker;
void leds_off() {
- led1 = 0;
- led2 = 0;
- led3 = 0;
+ CANTXLEDOFF;
+ CANRXLEDOFF;
+ ACTIVITYLEDOFF;
}
\ No newline at end of file