Okay, so now i think i know what i did wrong - the four SPI pins have to be 10,11,12,13 have to be CS, MOSI, MISO and SCK. So i set the pins correctly, but when i set the pot at a given value or a range of values from 0-255, it gives very strange readings - they are non-linear values that jump around but they do consistently change when i send a different value to the pot. Any ideas what could be causing this sort of problem would be appreciated.
Cheers,