Windows-iotcore-samples/README.md

134 строки
6.3 KiB
Markdown
Исходник Обычный вид История

<!---
samplefwlink: https://go.microsoft.com/fwlink/?linkid=860459
--->
2017-10-12 20:53:04 +03:00
# Windows 10 IoT Core samples
2017-10-12 20:53:04 +03:00
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.
2017-10-12 20:53:04 +03:00
> **Note:** If you are unfamiliar with Git and GitHub, you can download the entire collection as a
> [ZIP file](../../archive/master.zip), but be
> sure to unzip everything to access shared dependencies. For more info, see [Get Started](https://go.microsoft.com/fwlink/?linkid=860461).
2017-11-07 01:55:11 +03:00
## 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](http://go.microsoft.com/fwlink/p/?LinkID=280676)
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](https://insider.windows.com/)
## 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](../../archive/master.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](http://go.microsoft.com/fwlink/p/?LinkID=532421). These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for Windows.
## Contributions
2017-11-07 01:55:11 +03:00
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.
2017-10-12 20:53:04 +03:00
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information, see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
## See also
For additional Windows samples, see [Windows on GitHub](http://microsoft.github.io/windows/).
## Samples by category
2017-10-27 21:28:18 +03:00
### Devices, sensors and samples that involve wiring
<table>
<tr>
<td><a href="Samples/AppServiceBlinky">AppServiceBlinky</a></td>
2017-10-27 21:28:18 +03:00
<td><a href="Samples/DigitalSign">DigitalSign</a></td>
<td><a href="Samples/HelloBlinky">HelloBlinky</a></td>
</tr>
</tr>
<tr>
<td><a href="Samples/HelloBlinkyBackground">HelloBlinkyBackground</a></td>
<td><a href="Samples/NFCForIoT">NFCForIoT</a></td>
<td><a href="Samples/PotentiometerSensor">PotentiometerSensor</a></td>
</tr>
<tr>
<td><a href="Samples/PushButton">PushButton</a></td>
<td><a href="Samples/RGBLED">RGBLED</a></td>
<td><a href="Samples/Accelerometer">Accelerometer</a></td>
2017-10-27 21:28:18 +03:00
</tr>
<tr>
<td><a href="Samples/SPIDisplay">SPIDisplay</a></td>
<td><a href="Samples/TempForceSensor">TempForceSensor</a></td>
<td><a href="Samples/VideoCaptureSample">VideoCaptureSample</a></td>
</tr>
2017-10-31 03:55:06 +03:00
<tr>
<td><a href="Samples/I2CCompass">I2CCompass</a></td>
2017-11-03 23:58:18 +03:00
<td><a href="Samples/ContainerWebSocket">ContainerWebSocket</a></td>
<td><a href="Samples/GpioOneWire">GpioOneWire</a></td>
2017-10-31 03:55:06 +03:00
</tr>
2017-10-27 21:28:18 +03:00
</table>
2018-01-18 20:49:42 +03:00
### Samples that demonstrate Universal Windows Application features
2017-10-27 21:28:18 +03:00
<table>
<tr>
<td><a href="Samples/AppServiceSharedNotepad">AppServiceSharedNotepad</a></td>
2017-10-27 21:28:18 +03:00
<td><a href="Samples/CompanionApp">CompanionApp</a></td>
<td><a href="Samples/ExternalProcessLauncher">ExternalProcessLauncher</a></td>
</tr>
<tr>
<td><a href="Samples/ForegroundAppWithBackgroundApp">ForegroundAppWithBackgroundApp</a></td>
<td><a href="Samples/HelloBlinkyBackground">HelloBlinkyBackground</a></td>
<td><a href="Samples/HelloWorld">HelloWorld</a></td>
</tr>
<tr>
2018-01-18 20:49:42 +03:00
<td><a href="Samples/IotBrowser">IoTBrowser</a></td>
2017-10-27 21:28:18 +03:00
<td><a href="Samples/IoTCoreDefaultApp">IoTCoreDefaultApp</a></td>
<td><a href="Samples/IoTCoreMediaPlayer">IoTCoreMediaPlayer</a></td>
</tr>
2017-12-20 00:58:01 +03:00
<tr>
2018-01-18 20:49:42 +03:00
<td><a href="Samples/IotOnboarding">IoTOnboarding</a></td>
2017-12-20 00:58:01 +03:00
<td></td>
<td></td>
</tr>
2017-10-27 21:28:18 +03:00
</table>
### Samples that utilize Microsoft Azure features
<table>
<tr>
<td><a href="Samples/IoTConnector">IoTConnector</a></td>
<td><a href="Samples/SpeechTranslator">SpeechTranslator</a></td>
<td><a href="Samples/WeatherStation">WeatherStation</a></td>
</tr>
</table>
### Samples that involve device drivers, services, or realtime processing
<table>
<tr>
<td><a href="Samples/IoTCoreService">IoTCoreService</a></td>
2017-11-08 01:58:16 +03:00
<td><a href="Samples/NTServiceRpc">NTServiceRpc</a></td>
2017-11-16 03:04:53 +03:00
<td><a href="Samples/SerialUART">SerialUART</a></td>
2017-11-08 01:58:16 +03:00
</tr>
<tr>
2017-10-27 21:28:18 +03:00
<td><a href="Samples/ShiftRegister">ShiftRegister</a></td>
2017-10-30 23:15:55 +03:00
<td><a href="Samples/MemoryStatus">MemoryStatus</a></td>
2017-11-16 03:04:53 +03:00
<td></td>
2017-10-30 23:15:55 +03:00
</tr>
2017-10-27 21:28:18 +03:00
</table>