- Netduino Forums
- → Govind's Content
Govind's Content
There have been 5 items by Govind (Search limited from 29-April 23)
#41278 Control Large Led matrix
Posted by Govind on 09 December 2012 - 06:24 PM in General Discussion
#40236 SD Card cannot get basic example working
Posted by Govind on 26 November 2012 - 04:44 PM in Netduino Plus 2 (and Netduino Plus 1)
#39960 SD Card cannot get basic example working
Posted by Govind on 22 November 2012 - 06:42 PM in Netduino Plus 2 (and Netduino Plus 1)
#39365 SD Card cannot get basic example working
Posted by Govind on 14 November 2012 - 06:47 PM in Netduino Plus 2 (and Netduino Plus 1)
Exception:
Exception was thrown: System.IO.IOException
StackTrace:
Microsoft.SPOT.IO.NativeIO::GetAttributes
System.IO.FileStream::.ctor
System.IO.FileStream::.ctor
System.IO.StreamReader::.ctor
NetduinoPlusApplication1.Program::ReadTextFile
NetduinoPlusApplication1.Program::Main
can someone let me know what is wrong in this code.
Code:
public static void ReadTextFile() { try { var dir = Directory.GetCurrentDirectory(); using (var reader = new StreamReader(@"\SD\" + "Sample1.txt")) { string line; while ((line = reader.ReadLine()).Length != 0) { } } } catch (Exception ex) { } }
#38932 Control Large Led matrix
Posted by Govind on 10 November 2012 - 05:39 PM in General Discussion
- Netduino Forums
- → Govind's Content
- Privacy Policy