Accessing SD on Cerbuino

I need to access the SD card on Cerbuino, using 4.2.
I cannot find a simple and clear reference to this basic task! :frowning:

May I use the Gadgeteer.Modules.GHIElectronics.SDCard? And the socket number required by the constructor?

Or may I use FEZCerbuinoBee.MountStorageDevice?
However my program when I try to run

 Dim o1 = New GHIElectronics.Gadgeteer.FEZCerbuinoBee()

reports a runtime error :frowning:

Mahhhhhhhhhhhhh :frowning:

@ baz - There are a few posts that demonstrate this, but the search doesn’t always find what you want. Take a look at this post from Justin:

http://www.ghielectronics.com/community/forum/topic?id=8832&page=1#msg87858

The key here being that you need to use the GHI.OSHW.Hardware.StorageDev class.

-Valkyrie-MT

Thank you.
Using this code, and some old one that I did run on Panda, I solved.

Thanks all – for both the question & answer… I’ve taken this as direction to add to the Cerbuino Bee’s Developers’ Guide (with Justin’s code from the referenced post http://www.ghielectronics.com/community/forum/topic?id=8832&page=1#msg87858)

2 Likes

A Cerbuino Bee’s Developers’ Guide will be really important, thanks.