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.
Fork of SPWF01SA by
Diff: SPWFSA01.cpp
- Revision:
- 14:868b0fd4e84a
- Parent:
- 13:f21e4e73bbb6
- Child:
- 15:e56c9e744ab6
--- a/SPWFSA01.cpp Tue Aug 02 07:03:54 2016 +0000
+++ b/SPWFSA01.cpp Fri Aug 19 08:50:10 2016 +0000
@@ -24,7 +24,8 @@
SPWFSA01::SPWFSA01(PinName tx, PinName rx, bool debug)
: _serial(tx, rx, 1024), _parser(_serial),
- _wakeup(PC_8, PIN_INPUT, PullNone, 0), _reset(PC_12, PIN_INPUT, PullNone, 1),
+ _wakeup(D14, PIN_INPUT, PullNone, 0), _reset(D15, PIN_INPUT, PullNone, 1),
+ //PC_12->D15, PC_8->D14 (re-wires needed in-case used, currently not used)
dbg_on(debug)
//Pin PC_8 is wakeup pin
//Pin PA_12 is reset pin
