Main Site Documentation

Digital port


#1

Hello again,

I’m having a spot of trouble getting Visual Studio to accept objects for Digital and InterruptPort Objects. Can anyone confirm the Reference and ‘using’ call to allow me to use the Digital or InterruptPort objects?

Many thanks

TC


#2

In Microsoft hardware. Google it


#3

Okay, thank you for the fast reply :slight_smile:


#4

Ah, lovely… a nice API, just as I like it :wink:


#5

Just to add in case anyone else hit the same floor.

I delete the Microsoft.SPOT.Hardware reference and re-added it and… viola! Work now!

This is where Java Wins over Microsoft! :wink: with its auto referencing!

Thanks again…

TC


#6

You should always do this when you update the SDK. This is explained in more than one place in docs


#7

This was a new project so didn’t expect the issue tbh.


#8

new project AFTER you updated the SDK? This shouldn’t be the case. Anyway, it is working now :slight_smile:


#9

exactly :slight_smile: