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.

MLW's Content

There have been 4 items by MLW (Search limited from 25-April 23)


By content type

See this member's

Sort by                Order  

#19217 Syntax Errors

Posted by MLW on 15 October 2011 - 04:05 PM in Netduino Plus 2 (and Netduino Plus 1)

Hello scanman I got it as soon as I added it to references it worked. Did you add it to references in solution explorer? Mariam



#19210 Syntax Errors

Posted by MLW on 15 October 2011 - 12:22 PM in Netduino Plus 2 (and Netduino Plus 1)

Thank you Mark It did work I thought I added it to references but officely it was missing Mariam



#19175 Netduino Plus 1 Firmware v4.1.1 BETA 1

Posted by MLW on 14 October 2011 - 01:55 PM in Beta Firmware and Drivers

Which is the best framework to use. Do I need to uninstall my ".NET Micro Framework SDK V4.1" and re-install a new framework? I am new to this forum.o please Help



#19174 Syntax Errors

Posted by MLW on 14 October 2011 - 01:02 PM in Netduino Plus 2 (and Netduino Plus 1)

Hello I found this piece of code online and when I tried it it ddn't work could is it possible to know what directory in missing from my code?

using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;
using SecretLabs.NETMF.Hardware.NetduinoPlus;
using Microsoft.SPOT.IO;
//using SecretLabs.NETMF.IO;
using System.IO;

namespace SD_CARD
{
public class SD_CARD
{
private static void main()
{
using (var filestream = new FileStream(@"SD\don't panic.txt", FileMode.Create))
{
StreamWriter streamWriter = new StreamWriter(filestream);
streamWriter.WriteLine("Hello Netduino!!!");
streamWriter.Close();
}
using (var filestream = new FileStream(@"SD\don't panic.txt", FileMode.Open))
{
StreamReader Reader = new StreamReader(filestream);
Debug.Print(Reader.ReadToEnd());
Reader.Close();
}
}
}
}

The bold text is the syntax errors I got after writing the code. I got 1 error which is about the missing reference to IO but don't know which one because when I add using secretlabs.netfm.io it doesn't find the dll file either, do I need to download it from somewhere?

Sorry about the long email but i really need to figure out how to use the usd and the netduino plus.




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.