You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code constructs the SPI commands row by row, so there should be 8 SPI messages of 8 bytes each.
However, The code sends each line four times though (totaling 32 messages). To fix: unindent the call to SPI write / only send once per row.