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: UIT_DigitalOutEx mbed
Diff: main.cpp
- Revision:
- 1:9aa6eadce404
- Parent:
- 0:390e8489dea4
- Child:
- 2:21f669fe4965
--- a/main.cpp Sun Aug 23 00:32:24 2015 +0000 +++ b/main.cpp Tue Aug 25 02:25:17 2015 +0000 @@ -7,10 +7,11 @@ // 初期状態はオープンドレインに設定するが,count > 10 に // なったらプッシュプル出力に設定しなおす // -// 2015/08/23, Copyright (c) 2015 MIKAMI, Naoki +// 2015/08/25, Copyright (c) 2015 MIKAMI, Naoki //------------------------------------------------------------- #include "DigitalOutEx.hpp" +using namespace Mikami; // デフォルトはオープンドレインに設定される DigitalOutEx ledR_(D8); // PA_9, LED のカソード側をこの端子につなぐ @@ -29,3 +30,4 @@ if (++count > 10) ledR_.SetPushPull(); // プッシュプル出力に設定 } } +