SPI library on Teency 3.2

Hi everybody,

I am trying to read data from an encoder on Teency 3.2 by means of a Dual Encoder Breakout

I am using the sample code I have downloaded from here:

but Teency 3.2 does not read any value.

The wires are connected as reported here:

that is:

MISO pin 12
MOSI pin 11
SCK pin 13
SS pin 10

I am thinking the library has blocked the pins in any way.
Any suggestions?

Thank you very much in advance!