User avatar
DougieLawson
Posts: 34913
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Got HW running, can't build Blinky

Sat May 02, 2015 4:00 pm

I've got Hello World running. So the next step was to try to build Blinky.

That fails because

Code: Select all

using Windows.Devices.Gpio;
is not recognised and then it barfs on

Code: Select all

           var gpio = GpioController.GetDefault();
and on

Code: Select all

        private GpioPin pin;
and everything that uses pin methods.

What piece am I missing?
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

User avatar
ric96
Posts: 1253
Joined: Sun Mar 17, 2013 6:03 am
Location: NOIDA, India
Contact: Website

Re: Got HW running, can't build Blinky

Sat May 02, 2015 5:22 pm

how did you get hello world running pl. help...
viewtopic.php?f=105&t=109113&p=750730#p750730
My apologies for shameless YouTube Plugs...
youtube.com/sahajsarup
twitter @sahajsarup
skype srics1996
e-mail: sahajsarup@gmail.com
Blog: http://www.geektillithertz.com/wordpress
Web: http://www.geektillithertz.com

rausch88
Posts: 11
Joined: Fri May 01, 2015 3:19 pm

Re: Got HW running, can't build Blinky

Sat May 02, 2015 5:37 pm

Did you importet the IOT Framework?

User avatar
DougieLawson
Posts: 34913
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Got HW running, can't build Blinky

Sat May 02, 2015 5:56 pm

ric96 wrote:how did you get hello world running pl. help...
viewtopic.php?f=105&t=109113&p=750730#p750730
By following the recipe here: http://ms-iot.github.io/content/win10/s ... oWorld.htm
After doing the powershell stuff here: http://ms-iot.github.io/content/win10/s ... rShell.htm (including renaming my system to something other than "minwinpc").
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

User avatar
DougieLawson
Posts: 34913
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Got HW running, can't build Blinky

Sat May 02, 2015 11:44 pm

I've solved this one.
https://msdn.microsoft.com/en-us/library/hh708954.aspx
I had to add a project reference to the IoT SDK and the Windows.Devices.Gpio appeared and the project would build OK.
Note: Having anything remotely humorous in your signature is completely banned on this forum.

Any DMs sent on Twitter will be answered next month.

This is a hippy & doctor free zone.

Return to “Windows 10 for IoT”