| Index: target/dartuinoP0/include/target/display/LS013B7DH03.h
|
| diff --git a/target/dartuinoP0/include/target/display/LS027B7DH01.h b/target/dartuinoP0/include/target/display/LS013B7DH03.h
|
| similarity index 80%
|
| copy from target/dartuinoP0/include/target/display/LS027B7DH01.h
|
| copy to target/dartuinoP0/include/target/display/LS013B7DH03.h
|
| index bde64f6fed0781cc51d719045cb9aa55e29fd952..5f70aae0cbf98be5872ff351fe72647f6514a20d 100644
|
| --- a/target/dartuinoP0/include/target/display/LS027B7DH01.h
|
| +++ b/target/dartuinoP0/include/target/display/LS013B7DH03.h
|
| @@ -1,5 +1,5 @@
|
| /*
|
| - * Copyright (c) 2015 Gurjant Kalsi <me@gurjantkalsi.com>
|
| + * Copyright (c) 2016 Craig Stout <cstout@chromium.org>
|
| *
|
| * Permission is hereby granted, free of charge, to any person obtaining
|
| * a copy of this software and associated documentation files
|
| @@ -21,17 +21,19 @@
|
| * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| */
|
|
|
| -// 2.7 Inch Monocromatic Sharp Memory LCD
|
| +// 1.28 Inch Monocromatic Sharp Memory LCD
|
|
|
| #pragma once
|
|
|
| -#include <lib/gfx.h>
|
| +#include <dev/display.h>
|
|
|
| -#define MLCD_WIDTH ((uint16_t)400)
|
| -#define MLCD_HEIGHT ((uint16_t)240)
|
| -#define MLCD_GFX_FORMAT (GFX_FORMAT_MONO)
|
| +#define MLCD_WIDTH ((uint16_t)128)
|
| +#define MLCD_HEIGHT ((uint16_t)128)
|
|
|
| // 1 bit per pixel divided by 8 bits per byte
|
| #define MLCD_BYTES_LINE (MLCD_WIDTH / 8)
|
|
|
| +#define FB_FORMAT (DISPLAY_FORMAT_MONO_1)
|
| +#define FB_STRIDE (MLCD_BYTES_LINE)
|
| +
|
| uint8_t lcd_get_line(uint8_t *framebuffer, uint8_t idx, uint8_t *result);
|
|
|