XBee and XBee-PRO ZigBee RF modules provide cost-effective wireless connectivity to electronic devices. They are interoperable with other ZigBee PRO feature set devices, including devices from other vendors.
Device/XBeePins.cpp
- Committer:
- yangcq88517
- Date:
- 2015-11-14
- Revision:
- 6:5f31ddc17239
- Parent:
- 4:a0f1fba6c2fb
File content as of revision 6:5f31ddc17239:
#include "XBeePins.h" Pin * XBeePins::P1_VCC = new Pin(1); Pin * XBeePins::P2_DOUT = new Pin(2); Pin * XBeePins::P3_DIN_CONFIG = new Pin(3); Pin * XBeePins::P4_DO8 = new Pin(4); Pin * XBeePins::P5_RESET = new Pin(5); Pin * XBeePins::P6_RSSI_PWM0 = new Pin(6); Pin * XBeePins::P7_PWM1 = new Pin(7); Pin * XBeePins::P8_RESERVED = new Pin(8); Pin * XBeePins::P9_DTR_SLEEP_DIO8 = new Pin(9,0x44,0x38,0x00,0x00); Pin * XBeePins::P10_GND = new Pin(10); Pin * XBeePins::P11_AD4_DIO4 = new Pin(11,0x44,0x34,0x00,0x10); Pin * XBeePins::P12_CTS_DIO7 = new Pin(12,0x44,0x37,0x00,0x80); Pin * XBeePins::P13_ON_SLEEP = new Pin(13); Pin * XBeePins::P14_VREF = new Pin(14); Pin * XBeePins::P15_ASSOCIATE_AD5_DIO5 = new Pin(15,0x44,0x35,0x00,0x20); Pin * XBeePins::P16_RTS_AD6_DIO6 = new Pin(16,0x44,0x36,0x00,0x40); Pin * XBeePins::P17_AD3_DIO3 = new Pin(17,0x44,0x33,0x00,0x08); Pin * XBeePins::P18_AD2_DIO2 = new Pin(18,0x44,0x32,0x00,0x04); Pin * XBeePins::P19_AD1_DIO1 = new Pin(19,0x44,0x31,0x00,0x02); Pin * XBeePins::P20_AD0_DIO0 = new Pin(20,0x44,0x30,0x00,0x01);