ezLCD+103 Driver  0.1
Driver code for the ezLCD+103
 All Files Functions Typedefs Enumerations Groups Pages
Functions
Pixels

Functions

void ezLCD_set_plot_pixel (void)
 
void ezLCD_set_plot_pixel_xy (uint16_t x, uint16_t y)
 

Detailed Description

This header contains functions that plot single pixels to the current frame.

Function Documentation

void ezLCD_set_plot_pixel ( void  )

This function is used to plot a single pixel at the current position in the current color.

Assumptions
  • The user has initialized the MCU's SPI interface with the EZLCD_INIT_SPI() macro.
  • The user has set the MCU's SPI pins to inputs and outputs appropriately.

    • SS_BAR = OUTPUT
    • SCK = OUTPUT
    • MOSI = OUTPUT
    • MISO = INPUT
void ezLCD_set_plot_pixel_xy ( uint16_t  x,
uint16_t  y 
)

This function is used to plot a single pixel at the specified XY coordinate in the current color.

Parameters
  • x = X coordinate of the desired pixel
  • y = Y coordinate of the desired pixel
Assumptions
  • The user has initialized the MCU's SPI interface with the EZLCD_INIT_SPI() macro.
  • The user has set the MCU's SPI pins to inputs and outputs appropriately.

    • SS_BAR = OUTPUT
    • SCK = OUTPUT
    • MOSI = OUTPUT
    • MISO = INPUT