In this recipe, we will use the temperature sensor to send data to the IoT Hub using Raspberry Pi:
- Create a C# blank Universal Windows Platform (UWP) app from Visual Studio:
- Add a reference for Windows IoT extension for the UWP:
- Add the NuGet packages for Microsoft.Azure.Devices.Client, Newtonsoft.JSON, Microsoft.Netcore.Universalwindowsplatform packages as shown in following screenshot:
- We will be using a C++ Universal ...