[SOLVED] Trouble: PT1000 temp sensor + MAX31865 breakout board + Leonardo.

Ingenyo:
Hi
I have a X-Board Relay (Arduino Leonardo), I used this example. My chip celect pin (CS) is D11, (changed at code instead of 9 or 10) but always get 0 Ohm and -256ºC.
Any idea?
Thanks in advance!!

knut_ny:
The example is ment for arduino
Xboard Pin out: 2 Analog /1 I2C / 4 Digital Pin Out

Identify the pins (the schematic shows where)
U need to alter the example code to match the pins you select to use.

added.
Is there a mixup of chips here. 31865 / 31855 ??

I'm using a MAX31865.
I altered de code to configure pin out D11 as CS of MAX31865.
I attach a schematic.
Any idea? Do you need more info?

SOLVED.
The previous schematic has an error. :disappointed_relieved:
The breakout board has double supply: 5V and 3.3V. Both have to be connected to Leonardo.
I get the temperature!

RTD Sensor 0:
Rrtd = 1107.54 ohm
Trtd = 27.53 deg C
RTD Sensor 0:
Rrtd = 1107.67 ohm
Trtd = 27.56 deg C