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
https://www.superdroidrobots.com/shop/item.aspx/dual-ls7366r-quadrature-encoder-buffer/1523/

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:
https://www.pjrc.com/teensy/td_libs_SPI.html

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!

Lorenzo