LLAP Library for Ciseco wireless products.

Dependents:   Ciseco_LLAP_Test Ciseco_SRF_Shield

Library for Ciseco wireless modules http://shop.ciseco.co.uk/rf-module-range/

Tested with Nucleo F401RE and http://shop.ciseco.co.uk/srf-shield-wireless-transciever-for-all-arduino-type-boards/

Revision:
6:0745fb4dbd8c
Parent:
5:ec6fbf70d110
--- a/LLAPSerial.h	Wed Apr 16 19:41:30 2014 +0000
+++ b/LLAPSerial.h	Wed Apr 16 20:28:18 2014 +0000
@@ -64,14 +64,19 @@
     */
     Serial srf;
     
+    /** Pin for SRF enable/disable
+    */
+    DigitalOut srfEnable;
+    
  public:
      /** Default Constructor
      * @param txPin Pin name for UART TX
      * @param rxPin Pin name for UART RX
+     * @param enableSRF Pin name for the SRF enable
      * @param checkNodeID Check the incoming Device ID and ignore if it doesnt match
      * @param dID ID for device, used in sending messages and if checkNodeID is true then only messages for this ID are accepted
      */
-    LLAPSerial(PinName txPin, PinName rxPin, bool checkDevIDin = false, char *dID = "--" );
+    LLAPSerial(PinName txPin, PinName rxPin, PinName enableSRF, bool checkDevIDin = false, char *dID = "--" );
 
     /** Send a message
     * @param sToSend Character pointer to message to send, will be padded with - to full length or truncated if too long