Production Test Program (PTP) for the LPC4088 Experiment Base Board

Dependencies:   EALib I2S LM75B SDFileSystem mbed

Embed: (wiki syntax)

« Back to documentation index

Graphics Class Reference

Graphics Class Reference

LcdController example. More...

#include <Graphics.h>


Detailed Description

LcdController example.

 #include "mbed.h"
 #include "LcdController.h"

 LcdController::Config innolux(
        45,
        17,
        2,
        800,
        22,
        22,
        2,
        480,
        false,
        false,
        true,
        true,
        true,
        LcdController::Bpp_16_565,
        36000000,
        LcdController::Tft,
        false);

 int main(void) {
    LcdController lcd;

    lcd.open(&innolux);
    lcd.setFrameBuffer(frameBuffer);
    lcd.setPower(true);

    // draw on the frame buffer
    ...
 }

Definition at line 43 of file Graphics.h.