This is an experimental driver for the XBee 900 HP pro module's SPI connection. This driver is unfinished and stability is not guaranteed. Use with caution.
Dependents: Sentinel_BASE Sentinel_NODE
Diff: xbee900hp.h
- Revision:
- 14:55631bb4aa44
- Parent:
- 13:273adaa03a61
- Child:
- 15:3bb82129f3a8
--- a/xbee900hp.h Wed Apr 27 05:41:13 2016 +0000 +++ b/xbee900hp.h Wed Apr 27 05:43:10 2016 +0000 @@ -13,13 +13,12 @@ /** * Initialize the xBee Module * - * @params - * pin_mosi -> mbed SPI MOSI pin - * pin_miso -> mbed SPI MISO pin - * pin_sck -> mbed SPI SCK pin - * pin_attn -> Signals that some message from the XBee module is available - * pin_rst -> Resets the XBee module - * freq -> sets the SPI clock frequency. The XBee has a maximum SPI clock rate of 3.5 MHz. + * @param pin_mosi -> mbed SPI MOSI pin + * @param pin_miso -> mbed SPI MISO pin + * @param pin_sck -> mbed SPI SCK pin + * @param pin_attn -> Signals that some message from the XBee module is available + * @param pin_rst -> Resets the XBee module + * @param freq -> sets the SPI clock frequency. The XBee has a maximum SPI clock rate of 3.5 MHz. */ xbee900hp(PinName pin_mosi,PinName pin_miso,PinName pin_sck,PinName pin_attn, PinName pin_rst, unsigned int freq);