{"id":1243,"date":"2019-09-07T16:11:09","date_gmt":"2019-09-07T16:11:09","guid":{"rendered":"https:\/\/wordpress-634681-2064240.cloudwaysapps.com\/?p=1243"},"modified":"2020-05-02T21:48:58","modified_gmt":"2020-05-02T21:48:58","slug":"explorations-in-dot-net-core-3-0-for-raspberry-pi-part-2","status":"publish","type":"post","link":"https:\/\/www.petecodes.co.uk\/explorations-in-dot-net-core-3-0-for-raspberry-pi-part-2\/","title":{"rendered":"Explorations in Dot Net Core 3 for Raspberry Pi – Part 2 – Controlling GPIO"},"content":{"rendered":"\n

This is part 2 of a (at least) 5 part blog series on Dot Net Core on the Raspberry Pi….<\/em>

You can see Part 1 – Installation and Hello World – right here<\/a>… <\/em>
You can see <\/em>
Part 3 – Sending Azure IoT Hub Messages – right here…<\/em><\/a>
You can see <\/em>
Part 4 – Receiving Azure IoT Hub Messages – right here…<\/em><\/a>
You can see
Part 5 – Remote Deployment and Debugging – right here…<\/a><\/em> <\/p>\n\n\n\n

On September 25th 2019<\/a>, the Dot Net Team released version 3.0 of the Dot Net Core Framework at .Net Conf.<\/a><\/p>\n\n\n\n

To join in the fun, I held a special with Notts IoT<\/a>, the IoT group I organise in Nottingham, where I gave a talk on Dot Net Core 3.0 on the Raspberry Pi.<\/a> <\/p>\n\n\n\n

This blog post is what I’ve learnt along the way to preparing for the talk…! <\/p>\n\n\n\n

Previously on Pete Codes…
<\/h2>\n\n\n\n

In the last blog post<\/a> we got our Pi all setup with the release version of Dot Net Core 3.0. We then scaffolded, built and ran an ASP.Net Core Blazor Web App.<\/p>\n\n\n\n

In this post, we’ll look at getting a simple Console App up and running, and using the IoT GPIO library, toggle an LED connected to our Pi on and off and read a push button.<\/p>\n\n\n\n

Thanks Scott Hansleman! <\/h2>\n\n\n\n

Before I go any further, I need to thank Scott Hansleman<\/a> for his excellent article<\/a> which helped me get started writing this post!<\/p>\n\n\n\n

What you’ll need <\/h2>\n\n\n\n