The SPI library has been rewritten and works on Gen 2. I am not sure if the examples have been rewritten or checked to make sure they still work as well. I don't remember seeing any AVR in the SPI library, but it's been a little while since I looked at it. Still, make sure you are looking at the correct SPI library inside the Galileo IDE.
↧