posilani dat
Dependencies: FatFileSystemCpp mbed PowerControl USBHostLite
Diff: WiflyInterface/Wifly/Wifly.cpp
- Revision:
- 11:137108e3403e
- Parent:
- 7:805c16a071d0
--- a/WiflyInterface/Wifly/Wifly.cpp Wed May 13 14:41:50 2015 +0000 +++ b/WiflyInterface/Wifly/Wifly.cpp Mon Jun 08 13:27:08 2015 +0000 @@ -73,7 +73,12 @@ sendCommand(cmd, NULL); wait(1); - wifi.baud(baudrate); + wifi.baud(baudrate); +} + +void Wifly::flowCTS(PinName cts) +{ + wifi.set_flow_control(SerialBase::CTS, cts); } bool Wifly::join()