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

Functions

void ezLCD_put_picture_rom (uint16_t picture_number)
 
void ezLCD_put_picture_sd (char file_path[], uint8_t length)
 

Detailed Description

This header contains functions that load images to the current frame.

Function Documentation

void ezLCD_put_picture_rom ( uint16_t  picture_number)

This function is used to select a picture stored in memory on the ezLCD's ROM and paint it to the current frame.

Parameters
  • picture_number = The index of the picture as it appears in the UserRom.txt file.
Assumptions
  • The user has placed an image at the requested index on the UserRom.txt file AND REPROGRAMED THE DISPLAY afterwards.
  • 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_put_picture_sd ( char  file_path[],
uint8_t  length 
)

This function is used to select a picture stored on the ezLCD's microSD card and paint it to the current frame.

Parameters
  • file_path = The path of the desired image to be painted to the current frame.
  • length = The number of characters in the file_path .
Assumptions
  • The user has placed an image at the requested file path on the microSD card.
  • 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