Fixed bug that prevented SPI transmissions larger than 255 bytes.

Fixed a bug that prevented SPI transmissions larger than 255 bytes. The i variable was uint8_t, changing it to a uint16_t solves the issue.
Merge pull request #7 from blark/master

Fixed bug that prevented SPI transmissions larger than 255 bytes.