Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

SD card


  • Please log in to reply
3 replies to this topic

#1 Jan Olof

Jan Olof

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts
  • LocationSweden

Posted 09 January 2011 - 06:59 PM

Hi I am trying to get my SD card to work. Have found some examples here, but they are not complete regarding namespace and references. I have seen a lot of references to System.IO.Directories... but Visual Studio don´t like that. Am I muissing a namespace ? I also saw this in another tread: " To use the SD card, add the System.IO.dll reference to your project." But I can´t find it to add. Probably something obvious but I can´t find out. /Jan Olof

#2 Jan Olof

Jan Olof

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts
  • LocationSweden

Posted 09 January 2011 - 07:10 PM

I found it in C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Assemblies\be /Jan Olof

#3 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 09 January 2011 - 07:35 PM

I found it in C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.1\Assemblies\be

You should use the one from "le" directory (those "le" and "be" abbreviations mean little-endian, big-endian respectively; and Netduino microcontroller works in little-endian mode).

IMHO the preferred way is to select the assembly in Visual Studio "Add Reference" dialog, either by right-clicking project "References" in Solution Explorer or "Add Reference" command in "Project" menu.

#4 Jan Olof

Jan Olof

    Advanced Member

  • Members
  • PipPipPip
  • 41 posts
  • LocationSweden

Posted 09 January 2011 - 08:11 PM

THANKS

I was blind did not see it in .NET under add references!
I did know about be and le but completly forgot when I found the reference.

It works now so I can see the directorys on my SD card.

Thanks again!

/Jan Olof




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.