ECE 4180 final project. Used to connected with both Adafruit Huzzah WiFi and Adafruit Bluetooth LE UART.
Dependents: WirelessInterface_Demo
Diff: WirelessInterface.h
- Revision:
- 1:67c95e75c998
- Parent:
- 0:ee4d2deea4be
--- a/WirelessInterface.h Sun Apr 24 18:20:01 2016 +0000 +++ b/WirelessInterface.h Thu Apr 28 22:09:33 2016 +0000 @@ -27,7 +27,7 @@ class WirelessInterface { public: - WirelessInterface(PinName tx, PinName rx, PinName rst, RawSerial dev, int baudrate = 9600); + WirelessInterface(PinName tx, PinName rx, PinName rst, RawSerial dev, int baudrate); void resetAll(); void resetWifi(); void resetBluetooth(); @@ -40,8 +40,6 @@ void baudrate(int speed); RawSerial getLocalSerial(); RawSerial getSerialDev(); - -protected: void send(); void recv();