XBee API operation library for mbed
Diff: SmartLabXBeeCore/Device/XBeePins.cpp
- Revision:
- 8:4da2ac03e35e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/SmartLabXBeeCore/Device/XBeePins.cpp Wed Mar 30 19:58:48 2016 +0000 @@ -0,0 +1,22 @@ +#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,"D8",0x0000); +Pin * XBeePins::P10_GND = new Pin(10); +Pin * XBeePins::P11_AD4_DIO4 = new Pin(11,"D4",0x0010); +Pin * XBeePins::P12_CTS_DIO7 = new Pin(12,"D7",0x0080); +Pin * XBeePins::P13_ON_SLEEP = new Pin(13); +Pin * XBeePins::P14_VREF = new Pin(14); +Pin * XBeePins::P15_ASSOCIATE_AD5_DIO5 = new Pin(15,"D5",0x0020); +Pin * XBeePins::P16_RTS_AD6_DIO6 = new Pin(16,"D6",0x0040); +Pin * XBeePins::P17_AD3_DIO3 = new Pin(17,"D3",0x0008); +Pin * XBeePins::P18_AD2_DIO2 = new Pin(18,"D2",0x0004); +Pin * XBeePins::P19_AD1_DIO1 = new Pin(19,"D1",0x0002); +Pin * XBeePins::P20_AD0_DIO0 = new Pin(20,"D0",0x0001); \ No newline at end of file