Go Down

Topic: digitalRead stays high when using ethernet control (Read 786 times) previous topic - next topic

Joris_DP

Thank you very much!
Now I understand why my manual program doesn't work.

PaulS

Quote
But where can I find what numbers are mine SPI pins?

On the home page, there is a Products link. On that page, there is a picture of each board that is a link. On each of those links, there is a section that talks about SPI pins. For the Mega, it says:
Quote
SPI: 50 (MISO), 51 (MOSI), 52 (SCK), 53 (SS). These pins support SPI communication using the SPI library. The SPI pins are also broken out on the ICSP header, which is physically compatible with the Uno, Duemilanove and Diecimila.

Joris_DP

Thanks I understand.
But where can I find what numbers are mine SPI pins?

PaulS

Quote
I'm affraid, I don't know what SPI pins are ?

There is no reason to be afraid. Ignorance can be cured.

SPI is how the Arduino and the Ethernet shield (and a lot of other devices) communicate. When you have a device attached that uses SPI, you can not use those same pins for other purposes.

Joris_DP

I'm affraid, I don't know what SPI pins are ?

Go Up