智也 大野
/
HeptaXbee_CountUp
Xbee countUP
Fork of HeptaXbee_CountUp by
main.cpp
- Committer:
- tomoya123
- Date:
- 2016-12-09
- Revision:
- 0:0a7fa0911e6c
- Child:
- 1:715b80d2a02b
File content as of revision 0:0a7fa0911e6c:
#include "mbed.h" #include "HeptaXbee.h" Serial pc(USBTX,USBRX); HeptaXbee xbee(p9, p10);//(tx,rx)=(Din,Dout) int main() { pc.baud(9600); xbee.baud(9600); pc.printf("N:Xbee Count Up Mode\r\n"); for(int i=1;i<10;i++){ xbee.printf("num = %d\r\n",i); wait (1.0); } }