Hi ALL,
i am a newbie for Netduino plus and now i am trying any features it has.
now i am focusing on uSD using; i have read it doesn't have to be mounted because Netduino+ mounts it automatically.
I have enclosed in my C# project the System.IO namespace but I cannot compile or run the project on Netduino plus.
Could anyone give me some ideas or instruction about how i have to manage uSD?
Thanks in advance to everyone who replies.... :-)
Best Regards, Daniele.
uSD writing issue.
Started by gouaches, Jan 04 2012 02:51 PM
2 replies to this topic
#1
Posted 04 January 2012 - 02:51 PM
#2
Posted 04 January 2012 - 03:07 PM
One thing to check is the references for the project - Is System.IO in the references (make sure you check the project references and not just the using statements.)?I have enclosed in my C# project the System.IO namespace but I cannot compile or run the project on Netduino plus.
Could anyone give me some ideas or instruction about how i have to manage uSD?
BTW - you did not attach the project to the message.
regards,
Mark
To be or not to be = 0xFF
Blogging about Netduino, .NET, STM8S and STM32 and generally waffling on about life
Follow @nevynuk on Twitter
#3
Posted 20 January 2012 - 10:45 PM
Hi All,
I am trying to adjust uSD writing routine but it doesn't work yet.
I post the code:
could someone help me?
thank u for your effort!
Daniele.
I am trying to adjust uSD writing routine but it doesn't work yet.
I post the code:
using System; using System.Net; using System.IO; using System.Net.Sockets; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.NetduinoPlus; namespace uSDwriting { public class Program { public static void Main() { DirectoryInfo usd = new DirectoryInfo(@"\SD\"); if (usd.Exists) { usd.CreateSubdirectory(@"\SD\Prova\"); FileInfo prova_file = new FileInfo("Prova.txt"); } } } }
could someone help me?
thank u for your effort!
Daniele.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users