Chip Select

Hello!

I am attempting to use the 160 X128 TFT LCD screen and Micro SD breakout board on a single Arduino Uno. They work individually, but I have no idea how to set up the chip selects to make both components function in one chunk of code. If you could please post an example of how to set this up, I would be extremely appreciative!

Thank you.

If you could please post an example of how to set this up, I would be extremely appreciative!

Without knowing how you have wired anything? Without having links to the devices you are using? Not a snowballs chance...

Have you read what the Playground says?

I recall from using the E'net shield, which has an SD built in, that I had to explicitly disable the SD to let the E'net work properly, simply by making the SD's select pin high, thusly:

  //explicitly disable the sd
  pinMode(4, OUTPUT);
  digitalWrite(4, HIGH);

That's exactly what the playground says: make SS pin high to ignore, low to talk.

So you need to check the LCD's documentation to see which pin is the right one; your micro SD's might be 4.