关于TFT图片显示问题,来个大神指点一下!!!-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 3546|回复: 10

[未解决] 关于TFT图片显示问题,来个大神指点一下!!!

[复制链接]
发表于 2021-3-11 15:30 | 显示全部楼层 |阅读模式
本帖最后由 ahua7336 于 2021-3-12 08:17 编辑

TFT显示屏1.8寸 128x160  ST7735S

显示屏ST7735S

显示屏ST7735S

开发板是ESP32-WROOM-32D

开发板

开发板
取模软件:

取模软件

取模软件
用的库是 : TFT_eSPI
库配置如下:
  1. //                            USER DEFINED SETTINGS
  2. //   Set driver type, fonts to be loaded, pins used and SPI control method etc
  3. //
  4. //   See the User_Setup_Select.h file if you wish to be able to define multiple
  5. //   setups and then easily select which setup file is used by the compiler.
  6. //
  7. //   If this file is edited correctly then all the library example sketches should
  8. //   run without the need to make any more changes for a particular hardware setup!
  9. //   Note that some sketches are designed for a particular TFT pixel width/height


  10. // ##################################################################################
  11. //
  12. // Section 1. Call up the right driver file and any options for it
  13. //
  14. // ##################################################################################

  15. // Define STM32 to invoke optimised processor support (only for STM32)
  16. //#define STM32

  17. // Defining the STM32 board allows the library to optimise the performance
  18. // for UNO compatible "MCUfriend" style shields
  19. //#define NUCLEO_64_TFT
  20. //#define NUCLEO_144_TFT

  21. // STM32 8 bit parallel only:
  22. // If STN32 Port A or B pins 0-7 are used for 8 bit parallel data bus bits 0-7
  23. // then this will improve rendering performance by a factor of ~8x
  24. //#define STM_PORTA_DATA_BUS
  25. //#define STM_PORTA_DATA_BUS

  26. // Tell the library to use 8 bit parallel mode (otherwise SPI is assumed)
  27. //#define TFT_PARALLEL_8_BIT

  28. // Display type -  only define if RPi display
  29. //#define RPI_DISPLAY_TYPE // 20MHz maximum SPI

  30. // Only define one driver, the other ones must be commented out
  31. //#define ILI9341_DRIVER
  32. #define ST7735_DRIVER      // Define additional parameters below for this display
  33. //#define ILI9163_DRIVER     // Define additional parameters below for this display
  34. //#define S6D02A1_DRIVER
  35. //#define RPI_ILI9486_DRIVER // 20MHz maximum SPI
  36. //#define HX8357D_DRIVER
  37. //#define ILI9481_DRIVER
  38. //#define ILI9486_DRIVER
  39. //#define ILI9488_DRIVER     // WARNING: Do not connect ILI9488 display SDO to MISO if other devices share the SPI bus (TFT SDO does NOT tristate when CS is high)
  40. //#define ST7789_DRIVER      // Full configuration option, define additional parameters below for this display
  41. //#define ST7789_2_DRIVER    // Minimal configuration option, define additional parameters below for this display
  42. //#define R61581_DRIVER
  43. //#define RM68140_DRIVER
  44. //#define ST7796_DRIVER
  45. //#define SSD1963_480_DRIVER
  46. //#define SSD1963_800_DRIVER
  47. //#define SSD1963_800ALT_DRIVER
  48. //#define ILI9225_DRIVER
  49. //#define GC9A01_DRIVER

  50. // Some displays support SPI reads via the MISO pin, other displays have a single
  51. // bi-directional SDA pin and the library will try to read this via the MOSI line.
  52. // To use the SDA line for reading data from the TFT uncomment the following line:

  53. // #define TFT_SDA_READ      // This option is for ESP32 ONLY, tested with ST7789 and GC9A01 display only

  54. // For ST7735, ST7789 and ILI9341 ONLY, define the colour order IF the blue and red are swapped on your display
  55. // Try ONE option at a time to find the correct colour order for your display

  56. //  #define TFT_RGB_ORDER TFT_RGB  // Colour order Red-Green-Blue
  57. //  #define TFT_RGB_ORDER TFT_BGR  // Colour order Blue-Green-Red

  58. // For M5Stack ESP32 module with integrated ILI9341 display ONLY, remove // in line below

  59. // #define M5STACK

  60. // For ST7789, ST7735, ILI9163 and GC9A01 ONLY, define the pixel width and height in portrait orientation
  61. // #define TFT_WIDTH  80
  62. #define TFT_WIDTH  128
  63. // #define TFT_WIDTH  240 // ST7789 240 x 240 and 240 x 320
  64. #define TFT_HEIGHT 160
  65. // #define TFT_HEIGHT 128
  66. // #define TFT_HEIGHT 240 // ST7789 240 x 240
  67. // #define TFT_HEIGHT 320 // ST7789 240 x 320
  68. // #define TFT_HEIGHT 240 // GC9A01 240 x 240

  69. // For ST7735 ONLY, define the type of display, originally this was based on the
  70. // colour of the tab on the screen protector film but this is not always true, so try
  71. // out the different options below if the screen does not display graphics correctly,
  72. // e.g. colours wrong, mirror images, or tray pixels at the edges.
  73. // Comment out ALL BUT ONE of these options for a ST7735 display driver, save this
  74. // this User_Setup file, then rebuild and upload the sketch to the board again:

  75. // #define ST7735_INITB
  76. // #define ST7735_GREENTAB
  77. // #define ST7735_GREENTAB2
  78. // #define ST7735_GREENTAB3
  79. // #define ST7735_GREENTAB128    // For 128 x 128 display
  80. // #define ST7735_GREENTAB160x80 // For 160 x 80 display (BGR, inverted, 26 offset)
  81. // #define ST7735_REDTAB
  82. // #define ST7735_BLACKTAB
  83. // #define ST7735_REDTAB160x80   // For 160 x 80 display with 24 pixel offset

  84. // If colours are inverted (white shows as black) then uncomment one of the next
  85. // 2 lines try both options, one of the options should correct the inversion.

  86. // #define TFT_INVERSION_ON
  87. // #define TFT_INVERSION_OFF


  88. // ##################################################################################
  89. //
  90. // Section 2. Define the pins that are used to interface with the display here
  91. //
  92. // ##################################################################################

  93. // If a backlight control signal is available then define the TFT_BL pin in Section 2
  94. // below. The backlight will be turned ON when tft.begin() is called, but the library
  95. // needs to know if the LEDs are ON with the pin HIGH or LOW. If the LEDs are to be
  96. // driven with a PWM signal or turned OFF/ON then this must be handled by the user
  97. // sketch. e.g. with digitalWrite(TFT_BL, LOW);

  98. // #define TFT_BL   32            // LED back-light control pin
  99. // #define TFT_BACKLIGHT_ON HIGH  // Level to turn ON back-light (HIGH or LOW)



  100. // We must use hardware SPI, a minimum of 3 GPIO pins is needed.
  101. // Typical setup for ESP8266 NodeMCU ESP-12 is :
  102. //
  103. // Display SDO/MISO  to NodeMCU pin D6 (or leave disconnected if not reading TFT)
  104. // Display LED       to NodeMCU pin VIN (or 5V, see below)
  105. // Display SCK       to NodeMCU pin D5
  106. // Display SDI/MOSI  to NodeMCU pin D7
  107. // Display DC (RS/AO)to NodeMCU pin D3
  108. // Display RESET     to NodeMCU pin D4 (or RST, see below)
  109. // Display CS        to NodeMCU pin D8 (or GND, see below)
  110. // Display GND       to NodeMCU pin GND (0V)
  111. // Display VCC       to NodeMCU 5V or 3.3V
  112. //
  113. // The TFT RESET pin can be connected to the NodeMCU RST pin or 3.3V to free up a control pin
  114. //
  115. // The DC (Data Command) pin may be labeled AO or RS (Register Select)
  116. //
  117. // With some displays such as the ILI9341 the TFT CS pin can be connected to GND if no more
  118. // SPI devices (e.g. an SD Card) are connected, in this case comment out the #define TFT_CS
  119. // line below so it is NOT defined. Other displays such at the ST7735 require the TFT CS pin
  120. // to be toggled during setup, so in these cases the TFT_CS line must be defined and connected.
  121. //
  122. // The NodeMCU D0 pin can be used for RST
  123. //
  124. //
  125. // Note: only some versions of the NodeMCU provide the USB 5V on the VIN pin
  126. // If 5V is not available at a pin you can use 3.3V but backlight brightness
  127. // will be lower.


  128. // ###### EDIT THE PIN NUMBERS IN THE LINES FOLLOWING TO SUIT YOUR ESP8266 SETUP ######

  129. // For NodeMCU - use pin numbers in the form PIN_Dx where Dx is the NodeMCU pin designation
  130. // #define TFT_CS   PIN_D8  // Chip select control pin D8
  131. // #define TFT_DC   PIN_D3  // Data Command control pin
  132. // #define TFT_RST  PIN_D4  // Reset pin (could connect to NodeMCU RST, see next line)
  133. // #define TFT_RST  -1    // Set TFT_RST to -1 if the display RESET is connected to NodeMCU RST or 3.3V

  134. //#define TFT_BL PIN_D1  // LED back-light (only for ST7789 with backlight control pin)

  135. //#define TOUCH_CS PIN_D2     // Chip select pin (T_CS) of touch screen

  136. //#define TFT_WR PIN_D2       // Write strobe for modified Raspberry Pi TFT only


  137. // ######  FOR ESP8266 OVERLAP MODE EDIT THE PIN NUMBERS IN THE FOLLOWING LINES  ######

  138. // Overlap mode shares the ESP8266 FLASH SPI bus with the TFT so has a performance impact
  139. // but saves pins for other functions. It is best not to connect MISO as some displays
  140. // do not tristate that line wjen chip select is high!
  141. // On NodeMCU 1.0 SD0=MISO, SD1=MOSI, CLK=SCLK to connect to TFT in overlap mode
  142. // On NodeMCU V3  S0 =MISO, S1 =MOSI, S2 =SCLK
  143. // In ESP8266 overlap mode the following must be defined

  144. //#define TFT_SPI_OVERLAP

  145. // In ESP8266 overlap mode the TFT chip select MUST connect to pin D3
  146. //#define TFT_CS   PIN_D3
  147. //#define TFT_DC   PIN_D5  // Data Command control pin
  148. //#define TFT_RST  PIN_D4  // Reset pin (could connect to NodeMCU RST, see next line)
  149. //#define TFT_RST  -1  // Set TFT_RST to -1 if the display RESET is connected to NodeMCU RST or 3.3V


  150. // ###### EDIT THE PIN NUMBERS IN THE LINES FOLLOWING TO SUIT YOUR ESP32 SETUP   ######

  151. // For ESP32 Dev board (only tested with ILI9341 display)
  152. // The hardware SPI can be mapped to any pins

  153. #define TFT_MISO 19
  154. #define TFT_MOSI 23
  155. #define TFT_SCLK 18
  156. #define TFT_CS   15  // Chip select control pin
  157. #define TFT_DC    2  // Data Command control pin
  158. #define TFT_RST   4  // Reset pin (could connect to RST pin)
  159. //#define TFT_RST  -1  // Set TFT_RST to -1 if display RESET is connected to ESP32 board RST

  160. // For ESP32 Dev board (only tested with GC9A01 display)
  161. // The hardware SPI can be mapped to any pins

  162. //#define TFT_MOSI 15 // In some display driver board, it might be written as "SDA" and so on.
  163. //#define TFT_SCLK 14
  164. //#define TFT_CS   5  // Chip select control pin
  165. //#define TFT_DC   27  // Data Command control pin
  166. //#define TFT_RST  33  // Reset pin (could connect to Arduino RESET pin)
  167. //#define TFT_BL   22  // LED back-light

  168. //#define TOUCH_CS 21     // Chip select pin (T_CS) of touch screen

  169. //#define TFT_WR 22    // Write strobe for modified Raspberry Pi TFT only

  170. // For the M5Stack module use these #define lines
  171. //#define TFT_MISO 19
  172. //#define TFT_MOSI 23
  173. //#define TFT_SCLK 18
  174. //#define TFT_CS   14  // Chip select control pin
  175. //#define TFT_DC   27  // Data Command control pin
  176. //#define TFT_RST  33  // Reset pin (could connect to Arduino RESET pin)
  177. //#define TFT_BL   32  // LED back-light (required for M5Stack)

  178. // ######       EDIT THE PINs BELOW TO SUIT YOUR ESP32 PARALLEL TFT SETUP        ######

  179. // The library supports 8 bit parallel TFTs with the ESP32, the pin
  180. // selection below is compatible with ESP32 boards in UNO format.
  181. // Wemos D32 boards need to be modified, see diagram in Tools folder.
  182. // Only ILI9481 and ILI9341 based displays have been tested!

  183. // Parallel bus is only supported for the STM32 and ESP32
  184. // Example below is for ESP32 Parallel interface with UNO displays

  185. // Tell the library to use 8 bit parallel mode (otherwise SPI is assumed)
  186. //#define TFT_PARALLEL_8_BIT

  187. // The ESP32 and TFT the pins used for testing are:
  188. //#define TFT_CS   33  // Chip select control pin (library pulls permanently low
  189. //#define TFT_DC   15  // Data Command control pin - must use a pin in the range 0-31
  190. //#define TFT_RST  32  // Reset pin, toggles on startup

  191. //#define TFT_WR    4  // Write strobe control pin - must use a pin in the range 0-31
  192. //#define TFT_RD    2  // Read strobe control pin

  193. //#define TFT_D0   12  // Must use pins in the range 0-31 for the data bus
  194. //#define TFT_D1   13  // so a single register write sets/clears all bits.
  195. //#define TFT_D2   26  // Pins can be randomly assigned, this does not affect
  196. //#define TFT_D3   25  // TFT screen update performance.
  197. //#define TFT_D4   17
  198. //#define TFT_D5   16
  199. //#define TFT_D6   27
  200. //#define TFT_D7   14

  201. // ######       EDIT THE PINs BELOW TO SUIT YOUR STM32 SPI TFT SETUP        ######

  202. // The TFT can be connected to SPI port 1 or 2
  203. //#define TFT_SPI_PORT 1 // SPI port 1 maximum clock rate is 55MHz
  204. //#define TFT_MOSI PA7
  205. //#define TFT_MISO PA6
  206. //#define TFT_SCLK PA5

  207. //#define TFT_SPI_PORT 2 // SPI port 2 maximum clock rate is 27MHz
  208. //#define TFT_MOSI PB15
  209. //#define TFT_MISO PB14
  210. //#define TFT_SCLK PB13

  211. // Can use Ardiuno pin references, arbitrary allocation, TFT_eSPI controls chip select
  212. //#define TFT_CS   D5 // Chip select control pin to TFT CS
  213. //#define TFT_DC   D6 // Data Command control pin to TFT DC (may be labelled RS = Register Select)
  214. //#define TFT_RST  D7 // Reset pin to TFT RST (or RESET)
  215. // OR alternatively, we can use STM32 port reference names PXnn
  216. //#define TFT_CS   PE11 // Nucleo-F767ZI equivalent of D5
  217. //#define TFT_DC   PE9  // Nucleo-F767ZI equivalent of D6
  218. //#define TFT_RST  PF13 // Nucleo-F767ZI equivalent of D7

  219. //#define TFT_RST  -1   // Set TFT_RST to -1 if the display RESET is connected to processor reset
  220.                         // Use an Arduino pin for initial testing as connecting to processor reset
  221.                         // may not work (pulse too short at power up?)

  222. // ##################################################################################
  223. //
  224. // Section 3. Define the fonts that are to be used here
  225. //
  226. // ##################################################################################

  227. // Comment out the #defines below with // to stop that font being loaded
  228. // The ESP8366 and ESP32 have plenty of memory so commenting out fonts is not
  229. // normally necessary. If all fonts are loaded the extra FLASH space required is
  230. // about 17Kbytes. To save FLASH space only enable the fonts you need!

  231. #define LOAD_GLCD   // Font 1. Original Adafruit 8 pixel font needs ~1820 bytes in FLASH
  232. #define LOAD_FONT2  // Font 2. Small 16 pixel high font, needs ~3534 bytes in FLASH, 96 characters
  233. #define LOAD_FONT4  // Font 4. Medium 26 pixel high font, needs ~5848 bytes in FLASH, 96 characters
  234. #define LOAD_FONT6  // Font 6. Large 48 pixel font, needs ~2666 bytes in FLASH, only characters 1234567890:-.apm
  235. #define LOAD_FONT7  // Font 7. 7 segment 48 pixel font, needs ~2438 bytes in FLASH, only characters 1234567890:-.
  236. #define LOAD_FONT8  // Font 8. Large 75 pixel font needs ~3256 bytes in FLASH, only characters 1234567890:-.
  237. //#define LOAD_FONT8N // Font 8. Alternative to Font 8 above, slightly narrower, so 3 digits fit a 160 pixel TFT
  238. #define LOAD_GFXFF  // FreeFonts. Include access to the 48 Adafruit_GFX free fonts FF1 to FF48 and custom fonts

  239. // Comment out the #define below to stop the SPIFFS filing system and smooth font code being loaded
  240. // this will save ~20kbytes of FLASH
  241. #define SMOOTH_FONT


  242. // ##################################################################################
  243. //
  244. // Section 4. Other options
  245. //
  246. // ##################################################################################

  247. // Define the SPI clock frequency, this affects the graphics rendering speed. Too
  248. // fast and the TFT driver will not keep up and display corruption appears.
  249. // With an ILI9341 display 40MHz works OK, 80MHz sometimes fails
  250. // With a ST7735 display more than 27MHz may not work (spurious pixels and lines)
  251. // With an ILI9163 display 27 MHz works OK.

  252. // #define SPI_FREQUENCY   1000000
  253. // #define SPI_FREQUENCY   5000000
  254. // #define SPI_FREQUENCY  10000000
  255. // #define SPI_FREQUENCY  20000000
  256. #define SPI_FREQUENCY  27000000
  257. // #define SPI_FREQUENCY  40000000
  258. // #define SPI_FREQUENCY  55000000 // STM32 SPI1 only (SPI2 maximum is 27MHz)
  259. // #define SPI_FREQUENCY  80000000

  260. // Optional reduced SPI frequency for reading TFT
  261. #define SPI_READ_FREQUENCY  20000000

  262. // The XPT2046 requires a lower SPI clock rate of 2.5MHz so we define that here:
  263. #define SPI_TOUCH_FREQUENCY  2500000

  264. // The ESP32 has 2 free SPI ports i.e. VSPI and HSPI, the VSPI is the default.
  265. // If the VSPI port is in use and pins are not accessible (e.g. TTGO T-Beam)
  266. // then uncomment the following line:
  267. //#define USE_HSPI_PORT

  268. // Comment out the following #define if "SPI Transactions" do not need to be
  269. // supported. When commented out the code size will be smaller and sketches will
  270. // run slightly faster, so leave it commented out unless you need it!

  271. // Transaction support is needed to work with SD library but not needed with TFT_SdFat
  272. // Transaction support is required if other SPI devices are connected.

  273. // Transactions are automatically enabled by the library for an ESP32 (to use HAL mutex)
  274. // so changing it here has no effect

  275. // #define SUPPORT_TRANSACTIONS
复制代码


程序:
  1. #include <DHT.h>
  2. #include <DHT_U.h>
  3. #include <TFT_eSPI.h> // Graphics and font library for ST7735 driver chip
  4. #include <SPI.h>
  5. #include "bmp.h"

  6. TFT_eSPI tft = TFT_eSPI();  // Invoke library, pins defined in User_Setup.h

  7. #define TFT_GREY 0x5AEB // New colour
  8. //温湿度传感器
  9. #define DHTPIN 27     // Digital pin connected to the DHT sensor
  10. #define DHTTYPE    DHT11     // DHT 11
  11. //DHT11 初始设置
  12. DHT dht(DHTPIN, DHTTYPE);
  13. DHT dhti(26, DHT11);

  14. void showImage(int32_t x, int32_t y, int32_t w, int32_t h, const uint16_t *data);//函数声明

  15. void setup(void) {
  16.   // 初始化 DHT11
  17.   dht.begin();
  18.   dhti.begin();
  19.   // 初始化LCD屏
  20.   tft.init();
  21.   //tft.begin();
  22.   tft.invertDisplay(0);//反转显示颜色i = 1反转,i = 0正常
  23.   tft.setRotation(3);// 设置屏幕显示的旋转角度,参数为:0,1,2,3 分别代表 0°、90°、180°、270°
  24.   tft.fillScreen(TFT_BLACK); //填充全屏幕黑色
  25. }

  26. void loop() {
  27. float h = dht.readHumidity();//读湿度
  28. float t = dht.readTemperature();//读温度,默认为摄氏度
  29. float hi = dhti.readHumidity();//读湿度
  30. float ti = dhti.readTemperature();//读温度,默认为摄氏度
  31. tft.setCursor(0, 0, 2);//设置显示位置
  32. tft.setTextSize(1);//设置字体大小
  33. //tft.setTextFont(7);//设置字体 7数码管字体
  34. tft.setTextColor(TFT_WHITE, TFT_BLACK);//设置字体颜色 背景色
  35. tft.println(String("WD:") + t);
  36. //tft.setTextColor(TFT_GREEN, TFT_BLACK);//设置字体颜色 背景色
  37. tft.println(String("SD:") + h);
  38. tft.setTextColor(TFT_GREEN, TFT_BLACK);//设置字体颜色 背景色
  39. tft.println(String("WD1:") + ti);
  40. tft.println(String("SD1:") + hi);

  41. tft.pushImage(80, 50, 40, 40, logo);//显示图片
  42. }
复制代码
图片 .h
  1. #include <pgmspace.h>  // PROGMEM support header

  2. #if defined(__AVR__)
  3. #include <avr/pgmspace.h>
  4. #elif defined(__PIC32MX__)
  5. #define PROGMEM
  6. #elif defined(__arm__)
  7. #define PROGMEM
  8. #endif

  9. const unsigned short logo[0x640] PROGMEM ={
  10. 0xDEDB, 0xEF5D, 0xEF5D, 0xEF7D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xF7BE,   // 0x0010 (16)
  11. 0xFFFF, 0xFFDE, 0xC638, 0x8C92, 0x6B8E, 0x6B6E, 0x7C10, 0xAD96, 0xE73C, 0xFFFF, 0xFFFF, 0xEF7D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D,   // 0x0020 (32)
  12. 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0030 (48)
  13. 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0x9D15, 0x634F, 0x426C, 0x320A, 0x2988, 0x1946, 0x1925, 0x2145,   // 0x0040 (64)
  14. 0x31E8, 0x6B8E, 0xBE18, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0050 (80)
  15. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0x9CF5, 0x530F,   // 0x0060 (96)
  16. 0x4B10, 0x5351, 0x4B0F, 0x3A6C, 0x31E9, 0x2167, 0x1925, 0x10E4, 0x08A3, 0x0062, 0x0883, 0x4A8A, 0xC659, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0070 (112)
  17. 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0080 (128)
  18. 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE71C, 0x5B4F, 0x63B3, 0x7CB8, 0x63F5, 0x4311, 0x324D, 0x29EA, 0x2188, 0x1926, 0x1905, 0x1905,   // 0x0090 (144)
  19. 0x1104, 0x1104, 0x10E4, 0x0083, 0x08A3, 0x8C72, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x00A0 (160)
  20. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDB, 0x3A4B, 0x42F0, 0x6C35, 0x4B54,   // 0x00B0 (176)
  21. 0x32B1, 0x2A2E, 0x21EB, 0x21A9, 0x1967, 0x1905, 0x1104, 0x1104, 0x1104, 0x1104, 0x1104, 0x1905, 0x10E4, 0x0042, 0x73AF, 0xFFFF,   // 0x00C0 (192)
  22. 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x00D0 (208)
  23. 0xFFFF, 0xFFFF, 0xEF5D, 0x3209, 0x324C, 0x4B10, 0x328F, 0x2A4F, 0x2A2E, 0x19CC, 0x1989, 0x2189, 0x1947, 0x1905, 0x1104, 0x1104,   // 0x00E0 (224)
  24. 0x10C4, 0x10C4, 0x1104, 0x1104, 0x1104, 0x10E4, 0x0042, 0x8431, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x00F0 (240)
  25. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x52EC, 0x1947, 0x324C, 0x2A0B, 0x21EC, 0x21EC,   // 0x0100 (256)
  26. 0x220C, 0x5B91, 0x4AEE, 0x1106, 0x1926, 0x1904, 0x10E4, 0x10E4, 0x29A7, 0x2166, 0x08A3, 0x1905, 0x1104, 0x1104, 0x10E4, 0x0082,   // 0x0110 (272)
  27. 0xBDF7, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0120 (288)
  28. 0xFFFF, 0xA535, 0x0883, 0x2188, 0x2188, 0x2189, 0x21AA, 0x218A, 0x426B, 0x8C71, 0xFFFF, 0x8C72, 0x0883, 0x1104, 0x08C4, 0x4229,   // 0x0130 (304)
  29. 0xDEFB, 0xEF5D, 0x5AEC, 0x0883, 0x1104, 0x1104, 0x1104, 0x0883, 0x31E8, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0140 (320)
  30. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x31C7, 0x10C4, 0x1925, 0x1926, 0x1947, 0x1947, 0x29A8,   // 0x0150 (336)
  31. 0x528A, 0x4A28, 0xAD55, 0xFFFF, 0x31E8, 0x08A3, 0x1905, 0x6B4D, 0x6B4D, 0xFFFF, 0xEF7D, 0x2145, 0x10C4, 0x1104, 0x1104, 0x1104,   // 0x0160 (352)
  32. 0x0062, 0xAD76, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0170 (368)
  33. 0xB596, 0x0062, 0x1104, 0x1904, 0x1105, 0x1905, 0x08C4, 0x4A8B, 0xB5B6, 0xEF5D, 0xBDF7, 0xFFFF, 0x6B8E, 0x0062, 0x4229, 0x5AAA,   // 0x0180 (384)
  34. 0x4208, 0xFFFF, 0xFFFF, 0x52CC, 0x0883, 0x1104, 0x1104, 0x1104, 0x08A3, 0x52AD, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0190 (400)
  35. 0xF7BE, 0xFFFF, 0xFFDF, 0xDEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x634E, 0x0062, 0x1104, 0x1104, 0x1104, 0x10E4, 0x0062, 0x638E,   // 0x01A0 (416)
  36. 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x73CF, 0x0001, 0x9CF3, 0x632C, 0xB596, 0xFFFF, 0xFFFF, 0x5B2D, 0x0083, 0x1104, 0x1104, 0x1104,   // 0x01B0 (432)
  37. 0x10E4, 0x2167, 0xEF3D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xB5B7, 0xAD76, 0xEF7D, 0x52CB, 0x94B3, 0xFFFF, 0xFFFF, 0xFFDF,   // 0x01C0 (448)
  38. 0x31E8, 0x08A3, 0x1104, 0x1104, 0x1104, 0x1104, 0x08A3, 0x4249, 0xF7FF, 0xF7FF, 0xFFFF, 0xFFFF, 0x4A6A, 0x0001, 0x8472, 0xFFFF,   // 0x01D0 (464)
  39. 0xFFFF, 0xF7FF, 0xEFDF, 0x3A09, 0x08A3, 0x1104, 0x1104, 0x1104, 0x1104, 0x1105, 0xBE18, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x01E0 (480)
  40. 0x7BF0, 0x0062, 0x31E8, 0x31C7, 0x0041, 0xA535, 0xFFFF, 0xEF5D, 0x2146, 0x10C4, 0x1104, 0x1104, 0x1104, 0x1104, 0x10E4, 0x08A3,   // 0x01F0 (496)
  41. 0x9D76, 0xF7FF, 0xFFFF, 0xADB7, 0x08A3, 0x08A3, 0x31C7, 0xE79E, 0xF7FF, 0xF7FF, 0xA576, 0x08A3, 0x10E4, 0x1104, 0x1104, 0x1104,   // 0x0200 (512)
  42. 0x1105, 0x1105, 0xA535, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEDB, 0x29A7, 0x0083, 0x10C4, 0x10C4, 0x10C4, 0xE71C, 0xEF9E,   // 0x0210 (528)
  43. 0x1105, 0x10E4, 0x1104, 0x1104, 0x1104, 0x1104, 0x1904, 0x08C4, 0x10E5, 0x6BD1, 0x6BD1, 0x08C5, 0x0064, 0x08A5, 0x0043, 0x322B,   // 0x0220 (544)
  44. 0x9D77, 0x84B3, 0x1925, 0x10C4, 0x1104, 0x1104, 0x1104, 0x1104, 0x1925, 0x0926, 0x9D35, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0230 (560)
  45. 0xFFFF, 0x73AF, 0x0062, 0x1904, 0x1905, 0x0082, 0x5B0D, 0x9B8E, 0x1062, 0x1105, 0x1104, 0x1104, 0x1904, 0x10E4, 0x0085, 0x1105,   // 0x0240 (576)
  46. 0x39C4, 0x5A81, 0x7B40, 0x9C22, 0xAC43, 0xA403, 0x9B83, 0x7282, 0x4982, 0x18C2, 0x00A4, 0x00C5, 0x10E4, 0x1904, 0x1104, 0x1905,   // 0x0250 (592)
  47. 0x1947, 0x1167, 0x5AEC, 0xFFBE, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xD6DB, 0x10C4, 0x10E4, 0x1104, 0x1105, 0x18A4, 0xC001,   // 0x0260 (608)
  48. 0x8883, 0x00E4, 0x1905, 0x1904, 0x08C5, 0x2144, 0x8343, 0xD523, 0xFE42, 0xFEE4, 0xFF27, 0xFF07, 0xFEA4, 0xFE64, 0xFE03, 0xFDA3,   // 0x0270 (624)
  49. 0xFCE2, 0xEC42, 0xB383, 0x6224, 0x10E5, 0x08C4, 0x1904, 0x1926, 0x19A8, 0x2187, 0x9000, 0xBCD3, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0280 (640)
  50. 0xEF5D, 0xFFFF, 0x7BF0, 0x0042, 0x1905, 0x1105, 0x2883, 0xD001, 0xF844, 0x48A3, 0x00E4, 0x08C5, 0x5A44, 0xED02, 0xFDE2, 0xFE02,   // 0x0290 (656)
  51. 0xFE66, 0xFF74, 0xFFB8, 0xFF73, 0xF6E7, 0xF6A6, 0xF645, 0xF5A4, 0xFCC3, 0xFC62, 0xFCC2, 0xFCC2, 0xCBE3, 0x49C4, 0x1106, 0x1988,   // 0x02A0 (672)
  52. 0x0187, 0x90A4, 0xF801, 0x9AEC, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xF79E, 0x31E8, 0x0083, 0x0905, 0x4082, 0xC001,   // 0x02B0 (688)
  53. 0xF823, 0xF085, 0x48A3, 0x00A4, 0x5A44, 0xFD02, 0xCC23, 0xDCC2, 0xFE04, 0xFE28, 0xF648, 0xF646, 0xF624, 0xF5E4, 0xFD64, 0xFCE3,   // 0x02C0 (704)
  54. 0xFC62, 0xFCC2, 0xE402, 0xDC02, 0xFCE2, 0x7AA4, 0x0148, 0x0167, 0x78C4, 0xF824, 0xF802, 0xB084, 0xE77D, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x02D0 (720)
  55. 0xEF5D, 0xFFFF, 0xFFFF, 0xDEDB, 0x1925, 0x00A3, 0x38C4, 0xE002, 0xD822, 0xF844, 0xF8A6, 0x78A4, 0x0063, 0x2143, 0x7283, 0x3983,   // 0x02E0 (736)
  56. 0x9B82, 0xF521, 0xFD61, 0xFD22, 0xFCE2, 0xFCA2, 0xFC42, 0xFC42, 0xFC42, 0xAB22, 0x4183, 0x92C3, 0x5204, 0x0126, 0x1925, 0x98A4,   // 0x02F0 (752)
  57. 0xF844, 0xF823, 0xF802, 0xD0A4, 0xEF9E, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xD69A, 0x2987, 0x00A5, 0xB843,   // 0x0300 (768)
  58. 0xF822, 0xE023, 0xF865, 0xF8E8, 0xC907, 0x4883, 0x0042, 0x00A3, 0x0084, 0x2963, 0x7AA2, 0xB362, 0xCBA2, 0xD362, 0xBB02, 0x8A82,   // 0x0310 (784)
  59. 0x3983, 0x00A4, 0x00E5, 0x00E5, 0x08E5, 0x60C4, 0xD864, 0xF844, 0xF824, 0xF823, 0xF802, 0x8883, 0xC6DB, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0320 (800)
  60. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE73D, 0x5B50, 0x3108, 0xE823, 0xF843, 0xF044, 0xF865, 0xF909, 0xF9AB, 0xD189, 0x8906,   // 0x0330 (816)
  61. 0x48A3, 0x1842, 0x0002, 0x0042, 0x0061, 0x0082, 0x0062, 0x0062, 0x0083, 0x20A3, 0x50C4, 0x88A5, 0xD885, 0xF865, 0xF844, 0xF844,   // 0x0340 (832)
  62. 0xF823, 0xF823, 0xD003, 0x1082, 0x29C7, 0xEF5D, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x326C,   // 0x0350 (848)
  63. 0x38A5, 0xD802, 0xF823, 0xF865, 0xF866, 0xF8A7, 0xF94A, 0xFA0C, 0xFA4D, 0xEA4C, 0xD20B, 0xB9A9, 0xB168, 0xA947, 0xB127, 0xB907,   // 0x0360 (864)
  64. 0xD107, 0xE8E7, 0xF8C7, 0xF8A7, 0xF865, 0xF865, 0xF844, 0xF823, 0xF803, 0xD002, 0x28A3, 0x0905, 0x08C4, 0x5AEC, 0xFFFF, 0xFFFF,   // 0x0370 (880)
  65. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEFB, 0x1905, 0x00C4, 0x41A7, 0xC0E6, 0xF803, 0xF886, 0xF8A7, 0xF887, 0xF886,   // 0x0380 (896)
  66. 0xF8C7, 0xF929, 0xF98A, 0xF9AB, 0xF9AB, 0xF98B, 0xF96A, 0xF929, 0xF908, 0xF8C7, 0xF8A6, 0xF886, 0xF865, 0xF864, 0xF823, 0xF002,   // 0x0390 (912)
  67. 0xB106, 0x2925, 0x00E4, 0x10E4, 0x1925, 0x1925, 0x9D14, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xAD96, 0x0062,   // 0x03A0 (928)
  68. 0x0882, 0x9535, 0xCEBA, 0xA28B, 0xD044, 0xF825, 0xF887, 0xF8A7, 0xF8C7, 0xF8A7, 0xF887, 0xF886, 0xF886, 0xF886, 0xF887, 0xF8A7,   // 0x03B0 (944)
  69. 0xF8A7, 0xF8A6, 0xF885, 0xF865, 0xF864, 0xF024, 0xB864, 0x930D, 0xB6BB, 0x63CF, 0x0883, 0x1104, 0x10E4, 0x2166, 0x3A49, 0xEF5D,   // 0x03C0 (960)
  70. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x94D3, 0x0042, 0x10E4, 0xCEBB, 0xFFFF, 0xE7BE, 0xB576, 0xAACC, 0xC107, 0xE045,   // 0x03D0 (976)
  71. 0xF845, 0xF846, 0xF866, 0xF886, 0xF886, 0xF886, 0xF886, 0xF865, 0xF845, 0xF865, 0xE865, 0xD044, 0xA843, 0x8801, 0x9082, 0xD73C,   // 0x03E0 (992)
  72. 0xEFFF, 0x9555, 0x0883, 0x1104, 0x1104, 0x1905, 0x1946, 0x94B3, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x94B3, 0x0041,   // 0x03F0 (1008)
  73. 0x2186, 0xDF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xE7DF, 0xC67A, 0xB4D3, 0xB34E, 0xC22A, 0xD168, 0xE0E6, 0xE8A6, 0xE8A5, 0xE8A5, 0xD8E6,   // 0x0400 (1024)
  74. 0xC988, 0xA906, 0xA822, 0xA802, 0xA000, 0xC800, 0xD800, 0xE5F7, 0xE7FF, 0xADF8, 0x10C4, 0x10E4, 0x1104, 0x10E4, 0x1105, 0x4A8B,   // 0x0410 (1040)
  75. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xA555, 0x0041, 0x29A7, 0xDF5D, 0xF7FF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0420 (1056)
  76. 0xEFFF, 0xDF7D, 0xCEDB, 0xCE59, 0xCDF8, 0xCDD7, 0xC5F7, 0xCE79, 0xBEFB, 0xA2AB, 0xF003, 0xF845, 0xD042, 0xE843, 0xF000, 0xD472,   // 0x0430 (1072)
  77. 0xDFFF, 0xAE39, 0x10E4, 0x10E4, 0x1104, 0x10E4, 0x1105, 0x2987, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCE59, 0x0883,   // 0x0440 (1088)
  78. 0x2146, 0xD71C, 0xF7FF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0450 (1104)
  79. 0xEFFF, 0xBA8B, 0xF804, 0xF845, 0xE062, 0xF044, 0xF800, 0xDB8E, 0xDFFF, 0xA5F8, 0x10C4, 0x10E4, 0x10E4, 0x1104, 0x10E4, 0x1925,   // 0x0460 (1120)
  80. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7BE, 0x2987, 0x0883, 0xB639, 0xF7FF, 0xF7DF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0470 (1136)
  81. 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE7BE, 0xBA4A, 0xF803, 0xF845, 0xF864, 0xF844, 0xF800, 0xE36E,   // 0x0480 (1152)
  82. 0xD7FF, 0x8CF4, 0x0883, 0x1104, 0x10E4, 0x10E4, 0x10E4, 0x1905, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x73EF,   // 0x0490 (1168)
  83. 0x0000, 0x8472, 0xEFFF, 0xEFBE, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x04A0 (1184)
  84. 0xE7DF, 0xBA8B, 0xF803, 0xF845, 0xF845, 0xF823, 0xF800, 0xD4D3, 0xD7FF, 0x5B4E, 0x0021, 0x3A29, 0xA555, 0x0883, 0x10C4, 0x1925,   // 0x04B0 (1200)
  85. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDEFB, 0x08A3, 0x31E8, 0xDF9E, 0xE79E, 0xEFBF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x04C0 (1216)
  86. 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF7FF, 0xBC51, 0xE002, 0xF803, 0xF003, 0xE043, 0xC2EC, 0xCF7E,   // 0x04D0 (1232)
  87. 0xBEFC, 0x2146, 0x0021, 0x94D3, 0xFFFF, 0x8451, 0x0000, 0x2987, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x04E0 (1248)
  88. 0x8451, 0x0000, 0x8CF4, 0xEFFF, 0xE79E, 0xEFBF, 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x04F0 (1264)
  89. 0xFFFF, 0xDF3D, 0xBD55, 0xBC52, 0xBC72, 0xB5B7, 0xC75D, 0xDFFF, 0x6BF0, 0x0000, 0x3A09, 0xF7BF, 0xFFFF, 0xFFFF, 0x9D14, 0xA555,   // 0x0500 (1280)
  90. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x4AAC, 0x08A4, 0xBEBB, 0xE7DF, 0xE77E, 0xEFBE, 0xF7DF,   // 0x0510 (1296)
  91. 0xFFDF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFDF, 0xF7DF, 0xEFFF, 0xDFDF, 0xD7BF, 0xD79E, 0xDFDF, 0xA5D8,   // 0x0520 (1312)
  92. 0x0883, 0x1126, 0xD6DB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0530 (1328)
  93. 0xEE79, 0xDC8B, 0x3121, 0x21A9, 0xCF3D, 0xDFBF, 0xDF7E, 0xE79E, 0xEFBE, 0xEFBF, 0xF7DF, 0xF7DF, 0xF7DF, 0xF7DF, 0xF7DF, 0xEFBF,   // 0x0540 (1344)
  94. 0xEFBE, 0xE79E, 0xDF7E, 0xD75E, 0xD75E, 0xDFDF, 0xB69A, 0x1926, 0x0842, 0xA3ED, 0xFFBF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0550 (1360)
  95. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDD74, 0xDBC0, 0xFE00, 0xEE42, 0x4202, 0x2189, 0xB67B, 0xDFDF, 0xD77E,   // 0x0560 (1376)
  96. 0xDF7E, 0xDF7E, 0xE79E, 0xE79E, 0xE79E, 0xE79E, 0xE79E, 0xDF7E, 0xDF7E, 0xD75D, 0xD75D, 0xDF9E, 0xE7FF, 0xA5F8, 0x1107, 0x18E3,   // 0x0570 (1392)
  97. 0xC502, 0xFD60, 0xD3E6, 0xEEDB, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xF79E, 0xBA84,   // 0x0580 (1408)
  98. 0xFCC1, 0xFE42, 0xFE82, 0xFEA2, 0x8381, 0x2145, 0x7474, 0xC75E, 0xDFDF, 0xD77E, 0xD75E, 0xD75D, 0xD75E, 0xD75E, 0xD75D, 0xD75D,   // 0x0590 (1424)
  99. 0xD75E, 0xDF9E, 0xE7FF, 0xC73D, 0x63F1, 0x0884, 0x5242, 0xE626, 0xFF29, 0xFE86, 0xF3E0, 0xC36A, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x05A0 (1440)
  100. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xDE18, 0xD2C1, 0xFDA2, 0xFE22, 0xFE42, 0xFE42, 0xFE62, 0xD4E2, 0x6A41, 0x4249,   // 0x05B0 (1456)
  101. 0x7453, 0xA63B, 0xC73E, 0xD7BF, 0xD7BF, 0xD7BF, 0xDFBF, 0xD7BF, 0xC73E, 0xA61A, 0x63F2, 0x29A7, 0x4182, 0xB422, 0xFE62, 0xFE83,   // 0x05C0 (1472)
  102. 0xFEAA, 0xFF0F, 0xFD67, 0xBA63, 0xEF3C, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xE69A, 0xD280,   // 0x05D0 (1488)
  103. 0xFD21, 0xFDC2, 0xF5E2, 0xF5C2, 0xF582, 0xFD82, 0xFD62, 0xDC61, 0x9B21, 0x6A84, 0x6AE9, 0x632C, 0x63AF, 0x7411, 0x636E, 0x632C,   // 0x05E0 (1504)
  104. 0x5A89, 0x5204, 0x7A81, 0xCBC2, 0xFCE2, 0xFD62, 0xFD82, 0xFDC2, 0xFDC2, 0xFDE4, 0xFD24, 0xCA62, 0xE71C, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x05F0 (1520)
  105. 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xCCB1, 0xD281, 0xF3C0, 0xFCC1, 0xFD02, 0xFD02, 0xFCE2, 0xFCC2, 0xFCC2,   // 0x0600 (1536)
  106. 0xFC81, 0xFB80, 0xC9C0, 0x81A4, 0xAD35, 0xCE59, 0x9C71, 0x8121, 0xDA00, 0xFBA1, 0xFC82, 0xFCA2, 0xFC82, 0xFCA2, 0xFD02, 0xFD22,   // 0x0610 (1552)
  107. 0xFCE2, 0xFC00, 0xDA60, 0xCC90, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xEF5D, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0620 (1568)
  108. 0xDE59, 0xC40D, 0xCB06, 0xD2E4, 0xDB03, 0xDB03, 0xDAE3, 0xD2C3, 0xC2A4, 0xB309, 0xBCD2, 0xF79E, 0xFFFF, 0xFFFF, 0xFFFF, 0xE6FB,   // 0x0630 (1584)
  109. 0xB40E, 0xBAA6, 0xD283, 0xE2E3, 0xEB02, 0xEB22, 0xE322, 0xDB03, 0xD2E4, 0xC36A, 0xD5B6, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF,   // 0x0640 (1600)
  110. };
复制代码
运行结果:

运行结果

运行结果
文本显示正确,文本颜色正确,图片色显示不正常。

发表于 2021-3-11 18:11 | 显示全部楼层
取模有问题
发表于 2021-3-11 19:40 | 显示全部楼层
直接显示色块看看颜色对不对?
 楼主| 发表于 2021-3-12 08:18 | 显示全部楼层


用的这个取模软件
 楼主| 发表于 2021-3-12 17:24 | 显示全部楼层
本帖最后由 ahua7336 于 2021-3-12 17:26 编辑
Zoologist 发表于 2021-3-11 19:40
直接显示色块看看颜色对不对?
色块.jpg 显示正常的!
发表于 2021-3-12 19:40 | 显示全部楼层

这样的话,你屏幕颜色是正确的,只是图片有问题

你试试色块图片看看显示如何?
发表于 2021-3-12 20:14 | 显示全部楼层
图片取模的时候, R 和 B 通道颠倒了,RGB / BGR 存储顺序调一下就用了。

我用图片模拟了一下,LZ 的照片当中,用 PS 把 R 通道和 B 通道对调,就有原来企鹅的样子了(黑头红围巾):

rgb-compose.png

2021-03-12_201048.png
 楼主| 发表于 2021-3-13 11:37 | 显示全部楼层
t3486784401 发表于 2021-3-12 20:14
图片取模的时候, R 和 B 通道颠倒了,RGB / BGR 存储顺序调一下就用了。

我用图片模拟了一下,LZ 的照片 ...

非常感谢  解决了!!!
发表于 2021-9-5 11:23 | 显示全部楼层
ahua7336 发表于 2021-3-12 08:18
用的这个取模软件

取模软件哪里下的,要钱吗?
 楼主| 发表于 2021-9-6 08:12 | 显示全部楼层
WSLJH 发表于 2021-9-5 11:23
取模软件哪里下的,要钱吗?

加我好友 我发给你!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-28 23:32 , Processed in 0.088095 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表