![](/media/cache/profiles/2e74f94b232c5a0cc3e75b4eaaf64c90.jpg.50x50_q85.jpg)
Hepta communication
Fork of Lab7-01_template by
main.cpp
- Committer:
- HEPTA
- Date:
- 2017-09-08
- Revision:
- 13:cec8b2da655e
- Parent:
- 10:4d6870d0caa0
File content as of revision 13:cec8b2da655e:
#include "mbed.h" #include "HeptaXbee.h" Serial pc(USBTX,USBRX); HeptaXbee xbee(p9,p10); int main() { pc.baud(9600); xbee.baud(9600); pc.printf("Xbee Count Up Mode\r\n"); for(int i = 0; i < 10; i++) { xbee.printf("num = %d\r\n",i); wait(1.0); } }