Download User manual - MikroElektronika
Transcript
mikroC PRO for PIC32 TFT_RGBToColor16bit Prototype Returns unsigned int TFT_RGBToColor16bit(char rgb_red, char rgb_green, char rgb_ blue); Returns a color value in the following bit-order : 5 bits red, 6 bits green and 5 bits blue color. Description Converts 5:6:5 RGB format into true color format. Parameters: Requires Example - rgb_red: red component of the image. - rgb_green: green component of the image. - rgb_blue: blue component of the image. TFT module needs to be initialized. See the TFT_Init routine. color16 = TFT_Image_Jpeg(150, 193, 65); TFT_Color16bitToRGB Prototype Returns void TFT_Color16bitToRGB(unsigned int color, char *rgb_red, char *rgb_green, char *rgb_blue); Nothing. Description Converts true color into 5:6:5 RGB format. Parameters: Requires Example 577 - color: true color to be converted. - rgb_red: red component of the input color. - rgb_green: green component of the input color. - rgb_blue: blue component of the input color. TFT module needs to be initialized. See the TFT_Init routine. TFT_Color16bitToRGB(start_color, &red_start, &green_start, &blue_start); MikroElektronika
Related documents
mikroPascal PRO for PIC32 User Manual
Data Sheet - MikroElektronika
mikroC PRO for AVR User`s Manual
mikroBasic PRO for AVR User Manual v100
mikroPascal PRO for AVR User Manual v1.00
mikroC for 8051 User Manual
Development of a ZigBee Wireless Sensor Node
mikroC PRO for dsPIC User Manual
Description of STM32F30xx/31xx Standard Peripheral Library
S5U13700B00C Rev. 1.0 Evaluation Board User Manual - Digi-Key
PIC32-Pinguino OTG Xref Table 20 Jan 2012
water level control system mohd shaiful iruan bin mohd aris