1) Download Visual Studio Enterprise edition for free at https://www.visualstudio.com/
2) Download Windows 10 IoT Dashboard onto your PC at Download Dashboard. Download Windows 10 IoT onto your Pi from https://developer.microsoft.com/en-us/windows/iot/GetStarted
3) follow these instructions to set up the components for this project on your Pi correctly https://developer.microsoft.com/en-us/windows/iot/samples/helloblinky
4) Click here download many samples of C# code for Raspberry Pi. Once you have extracted the contents of the zip file open the folder 'Blinky' and then open the folder 'CS' (meaning CSharp). Now open the Blinky.sln file and this should take you to Visual Studio. If the code does not open automatically, click on 'MainPage.xaml' in the menu on the right hand side and then 'MainPage.xaml.cs'. Now that your code is open make sure that you have the right settings to deploy code onto your Raspberry Pi. In the toolbar at the top, in the second white box, make sure that the 'ARM' setting is on, not the 'x64' or the 'x86' which will not work for the Raspberry Pi. Next to this, open the drop down menu for the green play sign and select 'Remote Machine' not 'Device'.
5) Just run your code by clicking the green play button in the toolbar at the top. It may take a little time to deploy.
You have finished your first Raspberry Pi Project!
No comments:
Post a Comment