LoginSignup
0
0

More than 1 year has passed since last update.

LPC812MAXのシステムクロックを見る

Last updated at Posted at 2022-09-09

x mbed2リビジョン144
x リビジョンを変更できる人むけ

目的
動作クロックの確認

o_con737.jpg

参考



//SER_SystemCoreClock_812_1

#include "mbed.h"

//         TX    RX
Serial pc(P0_4, P0_0); //812

//メイン関数
int main()
{

    //無限ループ
    while(1) {

        //周波数の表示
        pc.printf("%d Hz\r\n", SystemCoreClock);

        //1秒の待ち
        wait_ms(1000);

    } //while

} //main



o_con833.jpg

-19-

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0