Pages: [1]   Go Down
Author Topic: SD library - speed settings?  (Read 464 times)
0 Members and 1 Guest are viewing this topic.
UK
Offline Offline
Full Member
***
Karma: 4
Posts: 174
The red wire is ground, right ???
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

UK
Offline Offline
Full Member
***
Karma: 4
Posts: 174
The red wire is ground, right ???
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

found it!

libraries/SD/utility/SD2card.h

cheers
Logged

Pages: [1]   Go Up
Jump to: