Skip to content

SD Card on a AVR128DB28 Part #359

Answered by mosqu-ito
ITDiscovery asked this question in Q&A
Discussion options

You must be logged in to vote

Let me wrap this up a little better for @ITDiscovery and/or anyone else trying to use SPI on Port C under the current release, because last night I was typing with my thumbs in bed. If you make a minor (three lines, one character each) repair to a single file buried in the core,
the ONLY other thing you'll need, to get running, is to add the line pinMode(PIN_PC3,OUTPUT) to your program. So that's:
(1) repair one core file, and (2) add one line to your program.

The tricky part is finding that one file. I use Linux. For me the file is located here:
~/.arduino15/packages/DxCore/hardware/magaavr/1.4.10/variants/28pin-standard/pins_arduino.h
If you use Windoze you'll have to search it up yours…

Replies: 7 comments 18 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@ITDiscovery
Comment options

@mosqu-ito
Comment options

@ITDiscovery
Comment options

@SpenceKonde
Comment options

@ITDiscovery
Comment options

Comment options

You must be logged in to vote
8 replies
@ITDiscovery
Comment options

@mosqu-ito
Comment options

@mosqu-ito
Comment options

@mosqu-ito
Comment options

@SpenceKonde
Comment options

Comment options

You must be logged in to vote
1 reply
@ITDiscovery
Comment options

Comment options

You must be logged in to vote
3 replies
@mosqu-ito
Comment options

@ITDiscovery
Comment options

@ITDiscovery
Comment options

Answer selected by ITDiscovery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants