Yamasho Yama
/
mbed_print_test_for_mdk
test dmk out
main.cpp
- Committer:
- YamashoCSD
- Date:
- 2021-11-13
- Revision:
- 0:3a40a8503a36
File content as of revision 0:3a40a8503a36:
#include "mbed.h" DigitalOut myled(LED1); Serial pc(USBTX, USBRX); // tx, rx Serial tg(p9,p10); // tx, rx int main() { while(1) { pc.printf("test led1\n"); tg.printf("test led1\n"); myled = 1; wait(0.2); myled = 0; wait(0.2); } }