Official code samples repository for Windows 10 Internet of Things (IoT)
Перейти к файлу
Mark Snyder bff2959d0e Updated readme files, added images. Cleaned up code. 2018-07-06 08:46:03 -07:00
Demos updated text of readme 2018-06-27 15:31:07 -07:00
Drivers/WaveshareFilterKmdf Add Waveshare Filter Driver to project 2018-03-19 20:08:09 -07:00
Resources/images Updated readme files, added images. Cleaned up code. 2018-07-06 08:46:03 -07:00
Samples Updated readme files, added images. Cleaned up code. 2018-07-06 08:46:03 -07:00
Scripts Fix path to msbuild in script 2017-10-19 13:07:08 -07:00
SharedContent/media Add NTServiceRpc sample 2017-11-15 15:49:16 -08:00
.gitattributes Adding initial content and three migrated samples. 2017-10-12 14:23:28 -07:00
.gitignore windows container websockets sample 2017-11-13 12:25:15 -08:00
CONTRIBUTING.md Create CONTRIBUTING.md 2017-11-06 15:06:35 -08:00
LICENSE Initial commit 2017-10-12 10:53:03 -07:00
README.md Update README.md 2018-01-18 10:29:49 -08:00

README.md

Windows 10 IoT Core samples

This repo contains the samples that demonstrate the usage patterns for the Microsoft Windows 10 IoT Core operating system. These code samples were created with templates available in Visual Studio, and are designed to run on devices that run Windows 10 IoT Core.

Note: If you are unfamiliar with Git and GitHub, you can download the entire collection as a ZIP file, but be sure to unzip everything to access shared dependencies. For more info, see Get Started.

Windows 10 IoT Core development

These samples require Visual Studio 2017 to build and Windows 10 IoT Core to execute. The setup and installation steps are different based on what hardware device you have.

Get a free copy of Visual Studio 2017 Community Edition

Additionally, to stay on top of the latest updates to Windows and the development tools, become a Windows Insider by joining the Windows Insider Program.

Become a Windows Insider

Using the samples

The easiest way to use these samples without using Git is to download the zip file containing the current version (using the following link or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in Visual Studio 2017.

Download the samples ZIP

Notes:

  • Before you unzip the archive, right-click it, select Properties, and then select Unblock.
  • Be sure to unzip the entire archive, and not just individual samples. The samples all depend on the SharedContent folder in the archive.
  • In Visual Studio 2017, the platform target defaults to ARM, so be sure to change that to x64 or x86 if you want to test on a non-ARM device.

The samples use Linked files in Visual Studio to reduce duplication of common files, including sample template files and image assets. These common files are stored in the SharedContent folder at the root of the repository, and are referred to in the project files using links.

Reminder: If you unzip individual samples, they will not build due to references to other portions of the ZIP file that were not unzipped. You must unzip the entire archive if you intend to build the samples.

For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance, tutorials, and reference topics provided in the Windows 10 documentation available in the Windows Developer Center. These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows.

Contributions

These samples are direct from the feature teams and we welcome your input on issues and suggestions for new samples. If you would like to see new coverage or have feedback, please consider contributing. You can edit the existing content, add new content, or simply create new issues. Well take a look at your suggestions and will work together to incorporate them into the docs.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

See also

For additional Windows samples, see Windows on GitHub.

Samples by category

Devices, sensors and samples that involve wiring

AppServiceBlinky DigitalSign HelloBlinky
HelloBlinkyBackground NFCForIoT Potentiomete rSensor
Push Button RGB LED Accelerometer
SPI Display TempForceSensor VideoCaptureSample
I2C Compass ContainerWebSocket GpioOneWire
I2C Port Expander IoT Blockly

Samples that demonstrate Universal Windows Application features

AppServiceSharedNotepad CompanionApp ExternalProcessLauncher
ForegroundAppWithBackgroundApp HelloBlinkyBackground HelloWorld
IoT Browser IoTCore DefaultApp IoTCore MediaPlayer
IoT Onboarding Cognitive Services Companion App
IoT Home App OpenCV Example Serial UART
Webcam App WiFi Connector

Samples that utilize Microsoft Azure features

IoTConnector SpeechTranslator WeatherStation
HelloCloud HelloCloud.Headless ReadDeviceToCloudMessages
TpmDeviceTest WeatherStation WeatherStation.PowerBI
IoT Hub Clients

Samples that involve device drivers, services, or realtime processing

IoTCoreService NTServiceRpc SerialUART
Shift Register Memory Status Container Web Socket
Custom Device Accessor IoT Onboarding - Bluetooth (RFCOMM) Virtual Microphone Array Driver