Go Down

Topic: SD library - speed settings? (Read 520 times) previous topic - next topic

BigusDickus

Hi,

I started writing to SD cards using an arduino several version ago (version 21 I think), before the SD library was included as a standard library in version 22.

There used to be a file Sd2Card.h which allowed you to set the speed that data would be written to / read from the SD card.
SPI_FULL_SPEED
SPI_HALF_SPEED
SPI_QUARTER_SPEED

I've upgraded to version 1.0.1 and (up to now) haven't had any problems writing to an SD card.

I've started experiencing problems and I thought I'd try to slowing the speed down in case there's a problem with my hardware.

Can I change the speed now? If so, how? I can't find any suitable variables to fiddle with!

thanks

BigusDickus

found it!

libraries/SD/utility/SD2card.h

cheers

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy