SLCD peripheral of the FRDM-KL46Z
Inherits mbed::Stream and supports the majority of Stream functions.
#include "mbed.h"#include "SLCD.h"SLCD slcd;
main()
{
slcd.Home(); // Moves cursor to position 0 (start)
slcd.printf("1.2.3.4"); // Standard printf function, only characters in ASCII_TO_WF_CODIFICATION_TABLE will display// Dots printed using decimal points
slcd.putc('A'); // Prints a single characterwhile(1); // Wait forever
}
This site uses cookies to store information on your computer.
By continuing to use our site, you consent to our cookies.
If you are not happy with the use of these cookies, please review our
Cookie Policy
to learn how they can be disabled.
By disabling cookies, some features of the site will not work.
Access Warning
You do not have the correct permissions to perform this operation.