cansat

Dependencies:   DHT SCP1000 mbed

Committer:
mohamedgamal
Date:
Sun Aug 02 08:43:04 2015 +0000
Revision:
0:0c6be6af3d6d
cansat

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mohamedgamal 0:0c6be6af3d6d 1 /**********XBEE intialization file**************/
mohamedgamal 0:0c6be6af3d6d 2 Serial pc(USBTX, USBRX);
mohamedgamal 0:0c6be6af3d6d 3 Serial xbee(p9,p10); //xbee pin assignment
mohamedgamal 0:0c6be6af3d6d 4 DigitalOut rst1(p11); //xbee reset pin
mohamedgamal 0:0c6be6af3d6d 5 /***********************************************/
mohamedgamal 0:0c6be6af3d6d 6 void xbeeInit(int baud){
mohamedgamal 0:0c6be6af3d6d 7 pc.baud(baud);
mohamedgamal 0:0c6be6af3d6d 8 xbee.baud(baud);
mohamedgamal 0:0c6be6af3d6d 9 }
mohamedgamal 0:0c6be6af3d6d 10 /***********************************************/
mohamedgamal 0:0c6be6af3d6d 11