Array Commands - TBTerra/pictor GitHub Wiki

LCD Array Commands

These functions handle communication between pictor and the display involving arrays of data, they build on the base commands.


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:

  1. Cmd - The 8-bit command byte for the screen (see ILI9341 datasheet).
  2. Buffer - Pointer to a buffer of 8-bit parameters.
  3. 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:

  1. Cmd - The 8-bit command byte for the screen (see ILI9341 datasheet).
  2. Buffer - Pointer to a buffer where the resulting data is stored.
  3. Count - Number of bytes to read into Buffer.
⚠️ **GitHub.com Fallback** ⚠️