User manual
591
mikoPascal PRO for dsPIC30/33 and PIC24
MikroElektronika
TFT_Set_Index
TFT_Write_Command
TFT_Write_Data
Prototype
procedure TFT_Set_Index(index : byte);
Returns Nothing
Description Accesses register space of the controller and sets the desired register.
Parameters:
- index: desired register number.
Requires TFT module needs to be initialized. See the TFT_Init routine.
Example
// Access register at the location 0x02
TFT_Set_Index(0x02);
Prototype
procedure TFT_Write_Command(cmd : byte);
Returns Nothing
Description Accesses data space and writes a command.
Parameters:
- cmd: command to be written.
Requires TFT module needs to be initialized. See the TFT_Init routine.
Example
// Write a command
TFT_Write_Command(0x02);
Prototype
procedure TFT_Write_Data(_data : word);
Returns Nothing
Description Writes date into display memory.
Parameters:
- _data:data to be written.
Requires TFT module needs to be initialized. See the TFT_Init routine.
Example
// Send data
TFT_Write_Data(0x02);