Open this program in the mbed Compiler, where you can edit it and compile it for your hardware.
Download this program as .zip file.
mbedプロジェクトをLPCXpressoでビルドできることを確認しました!
WebサイトのベータモードをEnableしておいて,m0-betaライブラリをインポート.プロジェクトをCodeRed用にExportするとLPCXpressoでビルドできます.出来上がった.binファイルをmbedにコピーすれば動きます
このサンプルプロジェクトは既に必要なライブラリに入れ替え済み.ライブラリは「m0-beta」という名前だけどm3(LPC1768)のmbedでも動作します
| main.cpp [code] |