HEPTA-Sat Training 2022
/
Lab5-01_count_up_xbee
hepta
main.cpp
- Committer:
- RyusukeIwata
- Date:
- 22 months ago
- Revision:
- 28:38af84d07201
- Parent:
- 26:069145e20770
- Child:
- 29:420811bc3071
File content as of revision 28:38af84d07201:
#include "mbed.h" #include "HEPTA_COM.h" Serial pc(USBTX,USBRX,9600); HEPTA_COM com(p9,p10); int main() { pc.printf("Xbee Count Up Mode\r\n"); for(int i = 0; i < 10; i++) { com.printf("num = %d\r\n",i); wait(1.0); } }