Main Site Documentation

FEZ Domino & COM ports


#1

Hello!

I’m trying to run the UART examples in chapter 17 of the Beginners Guide. I’ve added a reference to System.IO (& Microsoft.Spot.Hardware) to the project and added “using System.IO.Ports” (& “using Microsoft.Spot.Hardware”) to the code. Yet, when I try to add an instance of a SerialPort class object to the code, Visual Studio isn’t aware of the class (no blue highlighting, etc). What am I overlooking here?


#2

Add Microsoft.SPOT.Hardware.SerialPort as reference.
Add “using System.IO.Ports;” as a using statement.
“SerialPort” should then be resolved.


#3

William,

Thanks! That fixed the problem. :slight_smile: