Kenji Arai
/
Check_external_RTC
check program for EPSON RX-8025NB and STM M41T62 external RTC library
redirect_stdio/redirect_stdio.cpp
- Committer:
- kenjiArai
- Date:
- 2020-08-07
- Revision:
- 1:0fd657a82160
- Parent:
- 0:564965644ed2
File content as of revision 1:0fd657a82160:
/* * mbed Application program * Redirect Standard Input/Output * * Copyright (c) 2020 Kenji Arai / JH1PJL * http://www7b.biglobe.ne.jp/~kenjia/ * https://os.mbed.com/users/kenjiArai/ * Created: August 7th, 2020 * Revised: August 7th, 2020 */ #include "mbed.h" // Create a BufferedSerial object to be used by the system I/O retarget code BufferedSerial pc(USBTX, USBRX, 9600); // the system I/O retarget FileHandle *mbed::mbed_override_console(int fd) { return &pc; }