Array Commands - TBTerra/pictor GitHub Wiki
These functions handle communication between pictor and the display involving arrays of data, they build on the base commands.
void pictorWrite(const uint8_t Cmd, const uint8_t * Buffer, const uint8_t Count);Writes a command and a byte array containing its parameters to the screen.
Parameters:
- 
Cmd- The 8-bit command byte for the screen (see ILI9341 datasheet).
- 
Buffer- Pointer to a buffer of 8-bit parameters.
- 
Count- Number of parameters to send.
void pictorRead(const uint8_t Cmd, uint8_t * Buffer, const uint8_t Count);Writes a command and reads out an array of byte data into a buffer from the screen.
Parameters:
- 
Cmd- The 8-bit command byte for the screen (see ILI9341 datasheet).
- 
Buffer- Pointer to a buffer where the resulting data is stored.
- 
Count- Number of bytes to read into Buffer.