Go Down

Topic: Alternative pin SS for Ethernet shield  (Read 326 times) previous topic - next topic

luigipun

Hi,
I would like to connect my Ethernet shield to arduino MKRZERO but I need to change the SS pin because the 10 is already occupied by SPI ... does anyone know how to do it?
Thank's

Juraj

You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

luigipun

#2
Mar 13, 2018, 09:10 pm Last Edit: Mar 13, 2018, 09:15 pm by luigipun
fwith cables ... s.i, s.o, clock

Juraj

then connect pin 10 of the shield to SS pin of the mkr
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

luigipun

too simple .... the standard Ethernet library uses pin 10 as SS but in my arduino that pin is used by sck .... I have to be able to change it ...

Juraj

Ethernet2 library has init() with SS pin as parameter. do you have Ethernet shield (W5100) or Ethernet2 (W5500)?
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

luigipun

I have the w5100 can you use the library?

Juraj

I have the w5100 can you use the library?
no. your only option si to modify the library
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Go Up