2015年12月20日日曜日

Arduino Wiring and UWP Lightning Providers

 「Arduino Wiring and UWP Lightning Providers」は、Arduinoのスケッチ(プログラム)でIoTデバイスを制御するための仕組みです。「Arduino Wiring and UWP Lightning Providers」を使用するには、次のように設定します。

①規定のコントロールドライバの変更

 次の手順で、IoTデバイスの規定のコントロールデバイスを「Direct Memory Mapped Driverに変更します。

1.「IoT Core Dashboard」を起動し、「Device Portal」で開くの欄のアイコンをクリックします。

2.ユーザー名(administrator)をパスワード(初期設定は「p@ssw0rd」)を入力し、[OK]をクリックします。

3.「Device」をクリックします。



4.「Default Controller Driver」を「Direct Memory Mapped Driver」に設定し、[Update Driver]をクリックします。


5.[OK]ボタンをクリックします。















②プロジェクト(Arduino Wiring Project)の作成

1.Visual Studioを起動し、[ファイル]→[新規作成]→[プロジェクト]を選択します。
2.「Visual C++」 →「Windows」→「Windows IoT Core」→「Arduino Wiring Application for Windows IoT Core」を選択し、[OK]ボタンをクリックします。

※プロジェクト名などは任意に変更してください。




回路の配線

ビルドとデプロイ

0 件のコメント:

コメントを投稿