"Software SPI" Library for 3pi Robot reading sensor values using an external ADC (slave)

Can someone guide me to a implemented library to use Software SPI with atmel 328 (master) in 3pi and 8 bit ADC controller (slave).
Thank you in advance.


I moved your post to our “Robots” subforum, which seemed more appropriate.

Is there a particular reason why you want to use software SPI instead of the hardware SPI on the 3pi? If not, you might consider using the OrangutanSPIMaster library in the Pololu AVR Library. You can find the library’s documentation under the “Orangutan SPI Master Functions” section in the Pololu AVR Library Command Reference guide.

If you have a specific question about something you do not understand with the 3pi’s SPI or have trouble using the OrangutanSPIMaster library, please let us know, and we would be glad to help.

- Amanda