I was unable to get a single byte SPI.transfer(c) to work for a SPI slave. The example in this post does 8 byte transfers, but you can simply make the data buffer smaller and it will transfer fewer bytes.
rickkas7
23
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Photon Pin-Out Preview | 63 | 22347 | May 30, 2016 | |
| 3 dead photon particles | 24 | 2227 | September 30, 2018 | |
| We are the (hardware) engineers behind the Photon; Ask us Anything! | 116 | 9380 | May 27, 2015 | |
| Teaching High School Robotics with the Spark Photon | 44 | 18651 | March 22, 2016 | |
| Photon SPI line sometimes not working with MCP23S17 | 4 | 1834 | July 1, 2016 |