Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using with "Hardware" SPI pins and SD/EthernetShield is not possible #18

Closed
fgoebel opened this issue Sep 6, 2013 · 3 comments
Closed

Comments

@fgoebel
Copy link

fgoebel commented Sep 6, 2013

Hello,
i am trying to get the 5110 LCD work with the Hardware SPI pins to reduce used pins.
The used Pins are:

  • MOSI on Pin 11
  • MISO on Pin 12 (not used)
  • SCK on Pin 13

It works quite fine until I add the "SD.begin(SD_CS_Pin);" then the display is hanging on the initialisation screen.

The Problem is described here too:
http://forum.arduino.cc/index.php?PHPSESSID=qs028iega6gc4vgn06tdt43ag3&topic=162167.0

So is it possible to get this LCD working on the hardware SPI-Pins or do i have to change them?

Thank you very much!

@fgoebel
Copy link
Author

fgoebel commented Sep 7, 2013

I have to add, that it is not possible to use this library with the Sd-/Ethernetshield at all.
I've tried to make a temperatue and humidity logger which also is able to display the last data on the display.
But i only get the Adafruit Init Screen over and over again or very confusing flickering data showing on the display. And the logging to sd-card will stop working, too.

the Sd-logging without the display and vice versa works quite fine.

Am i doing something wrong or is it not possible with this library?

thank you very much!

@andig
Copy link
Contributor

andig commented Nov 4, 2013

Same question here. I'm failing to understand how to use hardware SPI with the PCD_8544. I could redefine the pins when instantiating the Adafruit_PCD8544 but I'm unsure how that would affect other peripherals which are controlled by the SPI library.
Any insight on how to SPI library and Adafruit_PCD8544 coexist on the same pins would be appreciated.

@tdicola
Copy link
Contributor

tdicola commented May 26, 2014

Closing this issue now that hardware SPI support is integrated with this pull: #23

@tdicola tdicola closed this as completed May 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants