Regarding SPI.h library pins

yes, it is compatible