none
Can't find SerialPort in .NETMF 4.1 RRS feed

  • Question

  • Dear all,

    I try to use serialPort with .NETMF 4.1 for build a software with FEZ PAndaII.

    "using System.Threading;
    using System.IO.Ports;

    using Microsoft.SPOT;
    using Microsoft.SPOT.Hardware;
    using Microsoft.SPOT.Hardware.SerialPort; <-THIS DON'T EXIST in Microsoft.SPOT.Hardware and I need to use

    using GHIElectronics.NETMF.FEZ;
    using GHIElectronics.NETMF.Hardware;

    "

    What I must do?

    Thank You very much,

    Francesco

    Sunday, January 4, 2015 9:06 PM

Answers

  • Hello,

    After searching on the MSDN, it seems that even the last version SDK does not include the Microsoft.SPOT.Hardware.SerialPort namespace:

    http://msdn.microsoft.com/en-us/library/jj610646(v=vs.102).aspx

    However, there is a class named SerialPort under System.IO.Ports, is it that you are looking for the class?

    By the way, for issues regarding .NET Micro Framework, the .NET Micro Framework forum is more appropriate, the current forum is for .NET Framework Base Classes.

    Regards.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Monday, January 5, 2015 8:58 AM
    Moderator