How to cast const uint8_t* to char*

Maybe I’m not understanding what the issue is - but can’t you just call it with a (char*) in front of buff? E.g.

// assuming buff is a uint8_t*
SPI.Write(..., ..., (char*)buff, ...);
1 Like