AT Parser and bufferedSerial based SPWF library
Dependencies: ATParser
Dependents: X_NUCLEO_IDW01M1v2
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
