The experiment using this program is introduced on "Interface" No.11, CQ publishing Co.,Ltd, 2014. 本プログラムを使った実験は,CQ出版社のインターフェース 2014年11月号で紹介しています.

Dependencies:   mbed

USB_Printf.cpp

Committer:
CQpub0Mikami
Date:
2014-07-15
Revision:
0:08ddf5ce8234

File content as of revision 0:08ddf5ce8234:

//--------------------------------------------------------------
// Example of serial communication with PC using USB
//--------------------------------------------------------------

#include "mbed.h"

int main()
{
    printf("Hello Nucleo F401RE!\r\n");
    printf("SystemCoreClock: %d MHz\r\n\n",
           SystemCoreClock/(1000*1000));
}