Now I only can use spi.write(0xff) to controll the SPI transaction.
But if I want to use another spi.write()API, it would show the error below.
Can you help me with how to use this API correctly?
that is probably because your both buffers are Int type, so check the requested data types of SPI::write(…). I see const char pointer and char pointer.
Thank you for your information!
But according to my experiment, I still cannot use API spi.write() successfully after I select the requested data types.
Can you help me how to define the requested data successfully?
Thank you !