Author | Matthew Schinkel - borntechi.com, copyright (c) 2009, all rights reserved. |
Adapted-by | |
Compiler | >=2.4k |
Library for Color GLCD 320x240 stm032qvt-003 TFT display. Internal TFT GLCD driver is HX8347-A.
http://www.divshare.com/download/11463401-4a9
This library must use fonts with horizontal bit alignment
const GLCD_GREEN = 0x07E0
const GLCD_TEAL = 0x07ff
const GLCD_Y_PIXELS = 320
const GLCD_BLOCK_WRITE_TYPE = FONT_TOP_LEFT_HORIZONTAL
var word glcd_background_color = GLCD_WHITE
const GLCD_COLOR_BITS = 16
const GLCD_BLACK = 0x0000
const GLCD_YELLOW = 0xffe0
const GLCD_X_PIXELS = 240
const GLCD_WHITE = 0xFFFF
var word glcd_pen_color = GLCD_BLACK
const GLCD_BLUE = 0x001f
const GLCD_RED = 0xf800
glcd_write_pixel(byte in x,word in y)
stm_glcd_write_command_data(word in com1,word in dat1)
glcd_clear_screen()
stm_glcd_write_command(word in data)
stm_glcd_init()
glcd_write_color_byte(byte in data_high,byte in data_low)
glcd_write_color(word in data)
stm_glcd_write_data(word in data)
const GLCD_GREEN = 0x07E0
Green
const GLCD_TEAL = 0x07ff
Teal
const GLCD_Y_PIXELS = 320
No documentation found
const GLCD_BLOCK_WRITE_TYPE = FONT_TOP_LEFT_HORIZONTAL
efficient font type
var word glcd_background_color = GLCD_WHITE
Default background color
const GLCD_COLOR_BITS = 16
16bit color, 65535 colors
const GLCD_BLACK = 0x0000
colors constants
const GLCD_YELLOW = 0xffe0
Yellow
const GLCD_X_PIXELS = 240
No documentation found
const GLCD_WHITE = 0xFFFF
White
var word glcd_pen_color = GLCD_BLACK
Default pen color
const GLCD_BLUE = 0x001f
Blue
const GLCD_RED = 0xf800
Red
glcd_write_pixel(byte in x,word in y)
No documentation found
stm_glcd_write_command_data(word in com1,word in dat1)
No documentation found
glcd_clear_screen()
No documentation found
stm_glcd_write_command(word in data)
No documentation found
stm_glcd_init()
No documentation found
glcd_write_color_byte(byte in data_high,byte in data_low)
No documentation found
glcd_write_color(word in data)
No documentation found
stm_glcd_write_data(word in data)
No documentation found
18f4620 | 18f4620_glcd_touch_stm032qvt_003.jal |