Datasheet
SPI_T6963C_Fill
SPI_T6963C_Dot
425
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Libraries
mikroBasic PRO for AVR
CHAPTER 6
Prototype
sub procedure SPI_T6963C_Fill(dim v as byte, dim start as word,
dim len as word)
Returns Nothing.
Description
Fills controller memory block with given byte.
Parameters :
-
v: byte to be written
- start: starting address of the memory block
- len: length of the memory block in bytes
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_Fill(0x33, 0x00FF, 0x000F)
Prototype
sub procedure SPI_T6963C_Dot(dim x as integer, dim y as integer,
dim color as byte)
Returns Nothing.
Description
Draws a dot in the current graphic panel of Glcd at coordinates (x, y).
Parameters :
-
x: dot position on x-axis
-
y: dot position on y-axis
- color: color parameter. Valid values: SPI_T6963C_BLACK and
SPI_T6963C_WHITE
Requires Toshiba Glcd module needs to be initialized. See SPI_T6963C_Config routine.
Example
SPI_T6963C_Dot(x0, y0, pcolor)