The experiment using this program is introduced on "Interface" No.11, CQ publishing Co.,Ltd, 2014. 本プログラムを使った実験は,CQ出版社のインターフェース 2014年11月号で紹介しています.
USB_Printf.cpp
00001 //-------------------------------------------------------------- 00002 // Example of serial communication with PC using USB 00003 //-------------------------------------------------------------- 00004 00005 #include "mbed.h" 00006 00007 int main() 00008 { 00009 printf("Hello Nucleo F401RE!\r\n"); 00010 printf("SystemCoreClock: %d MHz\r\n\n", 00011 SystemCoreClock/(1000*1000)); 00012 }
Generated on Mon Jul 25 2022 03:44:25 by 1.7.2