Editing Write to Netduino SD card
(diff) ← Older revision |
Latest revision
(
diff
) |
Newer revision →
(
diff
)
Jump to:
navigation
,
search
Note that many examples online indicate a simple file name "Test.txt"; I've found that only the full path works "\SD\Test.txt". I'm using the Netguino Plus 2, which has an onboard SD card slot. You do not need to "mount" the onboard SD card, per [http://forums.netduino.com/index.php?/topic/4349-onboard-microsd/]. '''You must use only an SD card, not an SDHC card; and a size limit of 2GB.''' Try Using SW As New System.IO.StreamWriter("\SD\Test.txt") SW.WriteLine("This is a test!") End Using Debug.Print("...") Catch ex As Exception Debug.Print("Error writing to SD card: " & ex.Message) End Try
|
Editing help
Personal tools
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
Actions
Search
Navigation
Main page
Community portal
Current events
Recent changes
Random page
Help
Toolbox
What links here
Related changes
Special pages