Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MAG3110 SLCD aqm1248a_lcd mbed
You are viewing an older revision! See the latest version
Homepage
FRDM-KL46Zに内蔵されているMAG3110で磁力を測定し、FFTでパワースペクトルを求めてグラフ表示しています。と言っても自分ではほとんどコードは書いておらず、すべては
・内蔵LCD ・内蔵MAG3110 ・AQM1248 ・大浦先生のFFTライブラリ
以上のライブラリのおかげです。ありがとうございます。
プログラムとしては:
・Intervalを使ってバッファにMAG3110からのデータを詰め込む ・メインループではバッファを監視し、バッファが一杯になったらFFTかけてスペクトル表示
を繰り返しているだけです。せめてRTOSを使ってFFT〜スペクトル表示も別タスクにしないと…。