Skip to content
This repository was archived by the owner on Jan 3, 2020. It is now read-only.

Latest commit

 

History

History
50 lines (25 loc) · 1.99 KB

File metadata and controls

50 lines (25 loc) · 1.99 KB
  1. Overview of Starter Pack
  2. Blinky Sample

Blinky Sample

Let's create a simple Blinky app using an LED to test your setup.

Load the project in Visual Studio

You can find the source code for this sample by downloading a zip of all of our samples here and navigating to the Blinky. The sample code is available in either C++ or C#, however the documentation here only details the C# variant. Make a copy of the folder on your disk and open the project from Visual Studio.

Connect the LED to your Windows IoT device

You'll need a few components:

  • a LED (any color you like)

  • a 560 Ω resistor (Resistor Color Code Green, Blue, Brown, Gold)

  • a breadboard

  • 2 Male to Female connector wires

Electrical Components

Configure the components like this:

configuration

Deploy your app

  1. With the application open in Visual Studio, set the architecture in the toolbar dropdown to ARM.

  2. Next, in the Visual Studio toolbar, click on the Local Machine dropdown and select Remote Machine

    RemoteMachine Target

  3. At this point, Visual Studio will present the Remote Connections dialog. If you previously set a unique name for your device, you can enter it here. Otherwise, use the IP address of your Windows IoT Core device. After entering the device name/IP select Universal for Windows Authentication, then click Select.

  4. You can verify or modify these values by navigating to the project properties (select Properties in the Solution Explorer) and choosing the Debug tab on the left.

When everything is set up, you should be able to press F5 from Visual Studio to deploy the code.

Congratulations! You controlled one of the GPIO pins on your Windows IoT device.