![](/media/cache/profiles/0738069b244a1c43c83112b735140a16.50x50_q85.jpg)
5MHz OSC. output (using p21) with self frequency counter(using p30).
LPC1768 mbed を使った矩形波発生/カウンタプログラムです。
- PWM ライブラリでは出力の難しい高速の矩形波(1MHz over)を作れます
- 確認用に内蔵カウンタを利用した周波数カウンタも付属です。こちらも高速なパルスを計測できます。
Rectangular wave generator / counter program using LPC1768 mbed.
- High-speed rectangular wave (1MHz over) can be made.
- The frequency counter which uses the 1768 built-in counter, can measure high-rate pulse.
Diff: main.cpp
- Revision:
- 2:bff82681a822
- Parent:
- 1:2a347c40b1da
- Child:
- 3:603f4efe3985
diff -r 2a347c40b1da -r bff82681a822 main.cpp --- a/main.cpp Sun May 26 05:38:26 2013 +0000 +++ b/main.cpp Sun May 26 05:42:36 2013 +0000 @@ -1,5 +1,5 @@ // -// CLOCK OUT to PWM1 PIN Sample with Freq Counter using Cap2.0 +// CLOCK OUT to PWM1[6] Sample with Freq Counter using Cap2.0 // For LPC1768-mbed // // Reference: 5MHz Clock Out Code and Comment - http://mbed.org/forum/mbed/topic/733/