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/ZigBeePins.cpp
- Committer:
- yangcq88517
- Date:
- 2015-11-14
- Revision:
- 6:5f31ddc17239
- Parent:
- 4:a0f1fba6c2fb
File content as of revision 6:5f31ddc17239:
#include "ZigBeePins.h" Pin * ZigBeePins::P1_VCC = new Pin(1); Pin * ZigBeePins::P2_DOUT = new Pin(2); Pin * ZigBeePins::P3_DIN_CONFIG = new Pin(3); Pin * ZigBeePins::P4_DIO12 = new Pin(4,0x50,0x32,0x10,0x00); Pin * ZigBeePins::P5_RESET = new Pin(5); Pin * ZigBeePins::P6_RSSI_PWM_DIO10 = new Pin(6,0x50,0x30,0x04,0x00); Pin * ZigBeePins::P7_PWM_DIO11 = new Pin(7,0x50,0x31,0x08,0x00); Pin * ZigBeePins::P8_RESERVED = new Pin(8); Pin * ZigBeePins::P9_DTR_SLEEP_DIO8 = new Pin(9); Pin * ZigBeePins::P10_GND = new Pin(10); Pin * ZigBeePins::P11_DIO4 = new Pin(11,0x44,0x34,0x00,0x10); Pin * ZigBeePins::P12_CTS_DIO7 = new Pin(12,0x44,0x37,0x00,0x80); Pin * ZigBeePins::P13_ON_SLEEP = new Pin(13); Pin * ZigBeePins::P14_VREF = new Pin(14); Pin * ZigBeePins::P15_ASSOCIATE_DIO5 = new Pin(15,0x44,0x35,0x00,0x20); Pin * ZigBeePins::P16_RTS_DIO6 = new Pin(16,0x44,0x36,0x00,0x40); Pin * ZigBeePins::P17_AD3_DIO3 = new Pin(17,0x44,0x33,0x00,0x08); Pin * ZigBeePins::P18_AD2_DIO2 = new Pin(18,0x44,0x32,0x00,0x04); Pin * ZigBeePins::P19_AD1_DIO1 = new Pin(19,0x44,0x31,0x00,0x02); Pin * ZigBeePins::P20_AD0_DIO0_COMMISSIONONG_BUTTON = new Pin(20,0x44,0x30,0x00,0x01);