Preparing our project

Let's create a new Universal Windows Platform application project. This time, we'll call it Actuator. We'll follow the same steps outlined in the previous two chapters. We can also use the same hardware, even though we will only use the relay in this project. To make persistence of application states even easier, we'll also include the latest version of the NuGet package Waher.Runtime.Settings in the project. It uses the underlying object database defined by Waher.Persistence to persist application settings. We initialize the application in a similar manner as in the previous two cases. But we don't need to handle incoming pin measurement events from the Arduino or sampling. We make sure to terminate the application in the same way as we did in previous applications.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset