We are three guys from Denmark finishing our Bachelors project here in May, and we have encountered a problem while using our Arduino.
So we have an Arduino Nano with an air pressure sensor connected to the ICSP breakout pins. Also, we connected an LCD-screen on digital pins 8 to 13 (Going 4-bit mode). We want to display the output from our sensor on the LCD-screen, and we NEED to use pins 8-13, as we have already put it onto a finished solderboard for our prototype, and the other pins are reserved for other components.
Now, the screen and sensor output (and whole program) works fine if connected to digital pins OTHER than 8 to 13 eg. 2-7, but once we use those last pins the screen STOPS displaying the right things.
We did some program testing and found that the screen stops working exactly when the line SPI.begin() runs.
Now we figure that our problem is, that the ICSP header are internally connected to pins 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK), which are the same ones that the LCD-screen is connected to. Could this be our problem? And if so, since it is too late to make any electronic changes, is there any programming solution we could try?
Hope I made myself clear enough :)