Microchip® Advanced Software Framework

Quick Start Guide for the C42412A

LCD Glass component.

This is the quick start guide for the Atmel YMCC42412AAAFDCL LCD Glass component, with step-by-step instructions on how to configure and use the driver for a specific use case.The code examples can be copied into e.g the main application loop or any other function that will need to control the C42412A LCD Glass component module.

Use cases

C42412A LCD Glass basic usage

This use case will demonstrate how to initialize the C42412A LCD Glass module.

Setup steps

Prerequisites

This module requires the following driver

  • group_sam_drivers_lcdca

c42412a_basic_setup_code

Add this to the main loop or a setup function:

c42412a_basic_setup_workflow

  1. Initialize the c42412a module

Usage steps

c42412a_basic_usage_code

We can set all the contents by

c42412a_set_all();

Or we can clear all the contents by

We can use the basic show feature by

c42412a_show_text("Welcome");
c42412a_show_battery(c42412a_battery_two);

We can use the blink feature by

We can start/stop the text scrolling feature by

uint8_t const scrolling_str[] = "C42412A Example ";
strlen((char const *)scrolling_str));