ms-iot / lightning

MIT License
16 stars 20 forks source link

Missing `#define SS` #18

Closed zfields closed 8 years ago

zfields commented 8 years ago

Spi.h on Arduino supplies a constant SS, which allows code that uses SPI to be portable across Arduino boards and compatibles (like Windows DMAP for example).

MahmoudGSaleh commented 8 years ago

We've chip select, CS0 and CS1 in Raspberry PI and CS0 in MBM defined in pins_arduino.h. I guess we could define SS as CS0 as well to make the code portable.

MahmoudGSaleh commented 8 years ago

Fixed in #37