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.

Dependencies:   BufferedArray

Dependents:   MBEDminiproject

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers XBeePins.cpp Source File

XBeePins.cpp

00001 #include "XBeePins.h"
00002 
00003 Pin * XBeePins::P1_VCC = new Pin(1);
00004 Pin * XBeePins::P2_DOUT = new Pin(2);
00005 Pin * XBeePins::P3_DIN_CONFIG = new Pin(3);
00006 Pin * XBeePins::P4_DO8 = new Pin(4);
00007 Pin * XBeePins::P5_RESET = new Pin(5);
00008 Pin * XBeePins::P6_RSSI_PWM0 = new Pin(6);
00009 Pin * XBeePins::P7_PWM1 = new Pin(7);
00010 Pin * XBeePins::P8_RESERVED = new Pin(8);
00011 Pin * XBeePins::P9_DTR_SLEEP_DIO8 = new Pin(9,0x44,0x38,0x00,0x00);
00012 Pin * XBeePins::P10_GND = new Pin(10);
00013 Pin * XBeePins::P11_AD4_DIO4 = new Pin(11,0x44,0x34,0x00,0x10);
00014 Pin * XBeePins::P12_CTS_DIO7 = new Pin(12,0x44,0x37,0x00,0x80);
00015 Pin * XBeePins::P13_ON_SLEEP = new Pin(13);
00016 Pin * XBeePins::P14_VREF = new Pin(14);
00017 Pin * XBeePins::P15_ASSOCIATE_AD5_DIO5 = new Pin(15,0x44,0x35,0x00,0x20);
00018 Pin * XBeePins::P16_RTS_AD6_DIO6 = new Pin(16,0x44,0x36,0x00,0x40);
00019 Pin * XBeePins::P17_AD3_DIO3 = new Pin(17,0x44,0x33,0x00,0x08);
00020 Pin * XBeePins::P18_AD2_DIO2 = new Pin(18,0x44,0x32,0x00,0x04);
00021 Pin * XBeePins::P19_AD1_DIO1 = new Pin(19,0x44,0x31,0x00,0x02);
00022 Pin * XBeePins::P20_AD0_DIO0 = new Pin(20,0x44,0x30,0x00,0x01);