SNICInterface for ThingPlug Example
Dependents: ThingPlug_WiFi_Example ThingPlug_WiFi_Example_2
Fork of SNICInterface by
Diff: SNIC_WifiInterface.cpp
- Revision:
- 53:b53ccb9989c4
- Parent:
- 51:69a9cf901d54
diff -r 29b4d0adddf3 -r b53ccb9989c4 SNIC_WifiInterface.cpp --- a/SNIC_WifiInterface.cpp Tue Mar 31 03:12:35 2015 +0000 +++ b/SNIC_WifiInterface.cpp Tue Mar 31 03:16:46 2015 +0000 @@ -33,6 +33,16 @@ mModuleReset = reset; } +void C_SNIC_WifiInterface::create( PinName tx, PinName rx, PinName cts, PinName rts, PinName reset, PinName alarm, int baud) +{ + mUART_tx = tx; + mUART_rx = rx; + mUART_cts = cts; + mUART_rts = rts;; + mUART_baud = baud; + mModuleReset = reset; +} + C_SNIC_WifiInterface::~C_SNIC_WifiInterface() { }