Is there an Ardiuno Pin conflict here?-microsd card reader + digital display

I am using an arduino pro mini for a project that includes

  1. a digital display
  2. Microsd card reader

I have a concern about pin conflicts and want to know if i need to go to using an analog display if there is a conflict. i dont want to buy a new display if avoidable.

Here are the pins used by both peripherals that may conflict.

display input. SCK SDA A0 Reset CS
pin# 13 11 9 8 10
https://goo.gl/images/wgWdrF

microsd input/output. SCK D1 DD CD CS
pin# 13 11 12 9 8
https://learn.sparkfun.com/tutorials/microsd-breakout-with-level-shifter-hookup-guide

let me know what you think should be done.
thanks!

Hi,
Yes it looks like a conflict.
Can you post your code, the libraries that you use may have pin assignment statements that can be changed.

Thanks.. Tom... :slight_smile:

these files/codes were made by others.

i would like to post them, but the forum software thought it was spam and i got banned for 2 days.
i am wondering if this happened because links to specific websites were inside it.

maybe you can give direction on what part of the code to post. i looked over the code myself and i did notice refernces to various pins

Hi,

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom.. :slight_smile:

okay i went through the 3 scripts to find the most pertinant data

the following is from the graphics test file from adafruit

Teensy3.x and Arduino's
You are using 4 wire SPI here, so:
 MOSI:  11//Teensy3.x/Arduino UNO (for MEGA/DUE refere to arduino site)
 MISO:  12//Teensy3.x/Arduino UNO (for MEGA/DUE refere to arduino site)
 SCK:   13//Teensy3.x/Arduino UNO (for MEGA/DUE refere to arduino site)
 the rest of pin below:
 */
#define __CS 10
#define __DC 9
/*
Teensy 3.x can use: 2,6,9,10,15,20,21,22,23
Arduino's 8 bit: any
DUE: check arduino site
If you do not use reset, tie it to +3V3
*/

this code was created by others.
from the sd card code file

/*
This display:
This particular display has a design error! The controller has 3 pins to configure to constrain
the memory and resolution to a fixed dimension (in that case 128x128) but they leaved those pins
configured for 128x160 so there was several pixel memory addressing problems.
I solved by setup several parameters that dinamically fix the resolution as needed so below
the parameters for this diplay. If you have a strain or a correct display (can happen with chinese)
you can copy those parameters and create setup for different displays.
*/

what do you think?