User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest 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: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

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: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest 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: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest 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: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Return to “Windows 10 for IoT”