epd4in2.cpp 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567
  1. /**
  2. * @filename : epd4in2.cpp
  3. * @brief : Implements for Dual-color e-paper library
  4. * @author : Yehui from Waveshare
  5. *
  6. * Copyright (C) Waveshare August 10 2017
  7. *
  8. * Permission is hereby granted, free of charge, to any person obtaining a copy
  9. * of this software and associated documnetation files (the "Software"), to deal
  10. * in the Software without restriction, including without limitation the rights
  11. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  12. * copies of the Software, and to permit persons to whom the Software is
  13. * furished to do so, subject to the following conditions:
  14. *
  15. * The above copyright notice and this permission notice shall be included in
  16. * all copies or substantial portions of the Software.
  17. *
  18. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  19. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  20. * FITNESS OR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  21. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  22. * LIABILITY WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  23. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  24. * THE SOFTWARE.
  25. */
  26. #include <stdlib.h>
  27. #include "epd4in2.h"
  28. Epd::~Epd() {
  29. };
  30. Epd::Epd() {
  31. reset_pin = RST_PIN;
  32. dc_pin = DC_PIN;
  33. cs_pin = CS_PIN;
  34. busy_pin = BUSY_PIN;
  35. width = EPD_WIDTH;
  36. height = EPD_HEIGHT;
  37. };
  38. int Epd::Init(void) {
  39. /* this calls the peripheral hardware interface, see epdif */
  40. if (IfInit() != 0) {
  41. return -1;
  42. }
  43. /* EPD hardware init start */
  44. Reset();
  45. SendCommand(POWER_SETTING);
  46. SendData(0x03); // VDS_EN, VDG_EN
  47. SendData(0x00); // VCOM_HV, VGHL_LV[1], VGHL_LV[0]
  48. SendData(0x2b); // VDH
  49. SendData(0x2b); // VDL
  50. SendData(0xff); // VDHR
  51. SendCommand(BOOSTER_SOFT_START);
  52. SendData(0x17);
  53. SendData(0x17);
  54. SendData(0x17); //07 0f 17 1f 27 2F 37 2f
  55. SendCommand(POWER_ON);
  56. WaitUntilIdle();
  57. SendCommand(PANEL_SETTING);
  58. SendData(0xbf); // KW-BF KWR-AF BWROTP 0f
  59. SendData(0x0b);
  60. SendCommand(PLL_CONTROL);
  61. SendData(0x3c); // 3A 100HZ 29 150Hz 39 200HZ 31 171HZ
  62. /* EPD hardware init end */
  63. return 0;
  64. }
  65. int Epd::Init_4Gray(void) {
  66. /* this calls the peripheral hardware interface, see epdif */
  67. if (IfInit() != 0) {
  68. return -1;
  69. }
  70. /* EPD hardware init start */
  71. Reset();
  72. SendCommand(0x01); //POWER SETTING
  73. SendData (0x03);
  74. SendData (0x00); //VGH=20V,VGL=-20V
  75. SendData (0x2b); //VDH=15V
  76. SendData (0x2b); //VDL=-15V
  77. SendData (0x13);
  78. SendCommand(0x06); //booster soft start
  79. SendData (0x17); //A
  80. SendData (0x17); //B
  81. SendData (0x17); //C
  82. SendCommand(0x04);
  83. WaitUntilIdle();
  84. SendCommand(0x00); //panel setting
  85. SendData(0x3f); //KW-3f KWR-2F BWROTP 0f BWOTP 1f
  86. SendCommand(0x30); //PLL setting
  87. SendData (0x3c); //100hz
  88. SendCommand(0x61); //resolution setting
  89. SendData (0x01); //400
  90. SendData (0x90);
  91. SendData (0x01); //300
  92. SendData (0x2c);
  93. SendCommand(0x82); //vcom_DC setting
  94. SendData (0x12);
  95. SendCommand(0X50); //VCOM AND DATA INTERVAL SETTING
  96. SendData(0x97);
  97. }
  98. /**
  99. * @brief: basic function for sending commands
  100. */
  101. void Epd::SendCommand(unsigned char command) {
  102. DigitalWrite(dc_pin, LOW);
  103. SpiTransfer(command);
  104. }
  105. /**
  106. * @brief: basic function for sending data
  107. */
  108. void Epd::SendData(unsigned char data) {
  109. DigitalWrite(dc_pin, HIGH);
  110. SpiTransfer(data);
  111. }
  112. /**
  113. * @brief: Wait until the busy_pin goes HIGH
  114. */
  115. void Epd::WaitUntilIdle(void) {
  116. while(DigitalRead(busy_pin) == 0) { //0: busy, 1: idle
  117. // Wait
  118. }
  119. }
  120. /**
  121. * @brief: module reset.
  122. * often used to awaken the module in deep sleep,
  123. * see Epd::Sleep();
  124. */
  125. void Epd::Reset(void) {
  126. DigitalWrite(reset_pin, LOW);
  127. DelayMs(2);
  128. DigitalWrite(reset_pin, HIGH);
  129. DelayMs(20);
  130. DigitalWrite(reset_pin, LOW);
  131. DelayMs(2);
  132. DigitalWrite(reset_pin, HIGH);
  133. DelayMs(20);
  134. DigitalWrite(reset_pin, LOW);
  135. DelayMs(2);
  136. DigitalWrite(reset_pin, HIGH);
  137. DelayMs(20);
  138. }
  139. /**
  140. * @brief: transmit partial data to the SRAM
  141. */
  142. void Epd::SetPartialWindow(const unsigned char* buffer_black, int x, int y, int w, int l) {
  143. SendCommand(PARTIAL_IN);
  144. SendCommand(PARTIAL_WINDOW);
  145. SendData(x >> 8);
  146. SendData(x & 0xf8); // x should be the multiple of 8, the last 3 bit will always be ignored
  147. SendData(((x & 0xf8) + w - 1) >> 8);
  148. SendData(((x & 0xf8) + w - 1) | 0x07);
  149. SendData(y >> 8);
  150. SendData(y & 0xff);
  151. SendData((y + l - 1) >> 8);
  152. SendData((y + l - 1) & 0xff);
  153. SendData(0x01); // Gates scan both inside and outside of the partial window. (default)
  154. DelayMs(2);
  155. SendCommand(DATA_START_TRANSMISSION_2);
  156. if (buffer_black != NULL) {
  157. for(int i = 0; i < w / 8 * l; i++) {
  158. SendData(buffer_black[i]);
  159. }
  160. } else {
  161. for(int i = 0; i < w / 8 * l; i++) {
  162. SendData(0x00);
  163. }
  164. }
  165. DelayMs(2);
  166. SendCommand(PARTIAL_OUT);
  167. }
  168. void Epd::Set_4GrayDisplay(const char *Image, int x, int y, int w, int l)
  169. {
  170. int i,j,k,m;
  171. int z=0;
  172. unsigned char temp1,temp2,temp3;
  173. /****Color display description****
  174. white gray1 gray2 black
  175. 0x10| 01 01 00 00
  176. 0x13| 01 00 01 00
  177. *********************************/
  178. SendCommand(0x10);
  179. z=0;
  180. x= x/8*8;
  181. for(m = 0; m<EPD_HEIGHT;m++)
  182. for(i=0;i<EPD_WIDTH/8;i++)
  183. {
  184. if(i >= x/8 && i <(x+w)/8 && m >= y && m < y+l){
  185. temp3=0;
  186. for(j=0;j<2;j++)
  187. {
  188. temp1 = pgm_read_byte(&Image[z*2+j]);
  189. for(k=0;k<2;k++)
  190. {
  191. temp2 = temp1&0xC0 ;
  192. if(temp2 == 0xC0)
  193. temp3 |= 0x01;//white
  194. else if(temp2 == 0x00)
  195. temp3 |= 0x00; //black
  196. else if(temp2 == 0x80)
  197. temp3 |= 0x01; //gray1
  198. else //0x40
  199. temp3 |= 0x00; //gray2
  200. temp3 <<= 1;
  201. temp1 <<= 2;
  202. temp2 = temp1&0xC0 ;
  203. if(temp2 == 0xC0) //white
  204. temp3 |= 0x01;
  205. else if(temp2 == 0x00) //black
  206. temp3 |= 0x00;
  207. else if(temp2 == 0x80)
  208. temp3 |= 0x01; //gray1
  209. else //0x40
  210. temp3 |= 0x00; //gray2
  211. if(j!=1 || k!=1)
  212. temp3 <<= 1;
  213. temp1 <<= 2;
  214. }
  215. }
  216. z++;
  217. SendData(temp3);
  218. }else{
  219. SendData(0xff);
  220. }
  221. }
  222. // new data
  223. SendCommand(0x13);
  224. z=0;
  225. for(m = 0; m<EPD_HEIGHT;m++)
  226. for(i=0;i<EPD_WIDTH/8;i++)
  227. {
  228. if(i >= x/8 && i <(x+w)/8 && m >= y && m < y+l){
  229. temp3=0;
  230. for(j=0;j<2;j++)
  231. {
  232. temp1 = pgm_read_byte(&Image[z*2+j]);
  233. for(k=0;k<2;k++)
  234. {
  235. temp2 = temp1&0xC0 ;
  236. if(temp2 == 0xC0)
  237. temp3 |= 0x01;//white
  238. else if(temp2 == 0x00)
  239. temp3 |= 0x00; //black
  240. else if(temp2 == 0x80)
  241. temp3 |= 0x00; //gray1
  242. else //0x40
  243. temp3 |= 0x01; //gray2
  244. temp3 <<= 1;
  245. temp1 <<= 2;
  246. temp2 = temp1&0xC0 ;
  247. if(temp2 == 0xC0) //white
  248. temp3 |= 0x01;
  249. else if(temp2 == 0x00) //black
  250. temp3 |= 0x00;
  251. else if(temp2 == 0x80)
  252. temp3 |= 0x00; //gray1
  253. else //0x40
  254. temp3 |= 0x01; //gray2
  255. if(j!=1 || k!=1)
  256. temp3 <<= 1;
  257. temp1 <<= 2;
  258. }
  259. }
  260. z++;
  261. SendData(temp3);
  262. }else {
  263. SendData(0xff);
  264. }
  265. }
  266. set4Gray_lut();
  267. SendCommand(DISPLAY_REFRESH);
  268. DelayMs(100);
  269. WaitUntilIdle();
  270. }
  271. /**
  272. * @brief: set the look-up table
  273. */
  274. void Epd::SetLut(void) {
  275. unsigned int count;
  276. SendCommand(LUT_FOR_VCOM); //vcom
  277. for(count = 0; count < 44; count++) {
  278. SendData(lut_vcom0[count]);
  279. }
  280. SendCommand(LUT_WHITE_TO_WHITE); //ww --
  281. for(count = 0; count < 42; count++) {
  282. SendData(lut_ww[count]);
  283. }
  284. SendCommand(LUT_BLACK_TO_WHITE); //bw r
  285. for(count = 0; count < 42; count++) {
  286. SendData(lut_bw[count]);
  287. }
  288. SendCommand(LUT_WHITE_TO_BLACK); //wb w
  289. for(count = 0; count < 42; count++) {
  290. SendData(lut_bb[count]);
  291. }
  292. SendCommand(LUT_BLACK_TO_BLACK); //bb b
  293. for(count = 0; count < 42; count++) {
  294. SendData(lut_wb[count]);
  295. }
  296. }
  297. void Epd::set4Gray_lut(void)
  298. {
  299. unsigned int count;
  300. {
  301. SendCommand(0x20); //vcom
  302. for(count=0;count<42;count++)
  303. {SendData(EPD_4IN2_4Gray_lut_vcom[count]);}
  304. SendCommand(0x21); //red not use
  305. for(count=0;count<42;count++)
  306. {SendData(EPD_4IN2_4Gray_lut_ww[count]);}
  307. SendCommand(0x22); //bw r
  308. for(count=0;count<42;count++)
  309. {SendData(EPD_4IN2_4Gray_lut_bw[count]);}
  310. SendCommand(0x23); //wb w
  311. for(count=0;count<42;count++)
  312. {SendData(EPD_4IN2_4Gray_lut_wb[count]);}
  313. SendCommand(0x24); //bb b
  314. for(count=0;count<42;count++)
  315. {SendData(EPD_4IN2_4Gray_lut_bb[count]);}
  316. SendCommand(0x25); //vcom
  317. for(count=0;count<42;count++)
  318. {SendData(EPD_4IN2_4Gray_lut_ww[count]);}
  319. }
  320. }
  321. /**
  322. * @brief: refresh and displays the frame
  323. */
  324. void Epd::DisplayFrame(const unsigned char* frame_buffer) {
  325. SendCommand(RESOLUTION_SETTING);
  326. SendData(width >> 8);
  327. SendData(width & 0xff);
  328. SendData(height >> 8);
  329. SendData(height & 0xff);
  330. SendCommand(VCM_DC_SETTING);
  331. SendData(0x12);
  332. SendCommand(VCOM_AND_DATA_INTERVAL_SETTING);
  333. SendCommand(0x97); //VBDF 17|D7 VBDW 97 VBDB 57 VBDF F7 VBDW 77 VBDB 37 VBDR B7
  334. if (frame_buffer != NULL) {
  335. SendCommand(DATA_START_TRANSMISSION_1);
  336. for(int i = 0; i < width / 8 * height; i++) {
  337. SendData(0xFF); // bit set: white, bit reset: black
  338. }
  339. DelayMs(2);
  340. SendCommand(DATA_START_TRANSMISSION_2);
  341. for(int i = 0; i < width / 8 * height; i++) {
  342. SendData(pgm_read_byte(&frame_buffer[i]));
  343. }
  344. DelayMs(2);
  345. }
  346. SetLut();
  347. SendCommand(DISPLAY_REFRESH);
  348. DelayMs(100);
  349. WaitUntilIdle();
  350. }
  351. /**
  352. * @brief: clear the frame data from the SRAM, this won't refresh the display
  353. */
  354. void Epd::ClearFrame(void) {
  355. SendCommand(RESOLUTION_SETTING);
  356. SendData(width >> 8);
  357. SendData(width & 0xff);
  358. SendData(height >> 8);
  359. SendData(height & 0xff);
  360. SendCommand(DATA_START_TRANSMISSION_1);
  361. DelayMs(2);
  362. for(int i = 0; i < width / 8 * height; i++) {
  363. SendData(0xFF);
  364. }
  365. DelayMs(2);
  366. SendCommand(DATA_START_TRANSMISSION_2);
  367. DelayMs(2);
  368. for(int i = 0; i < width / 8 * height; i++) {
  369. SendData(0xFF);
  370. }
  371. DelayMs(2);
  372. }
  373. /**
  374. * @brief: This displays the frame data from SRAM
  375. */
  376. void Epd::DisplayFrame(void) {
  377. SetLut();
  378. SendCommand(DISPLAY_REFRESH);
  379. DelayMs(100);
  380. WaitUntilIdle();
  381. }
  382. /**
  383. * @brief: After this command is transmitted, the chip would enter the deep-sleep mode to save power.
  384. * The deep sleep mode would return to standby by hardware reset. The only one parameter is a
  385. * check code, the command would be executed if check code = 0xA5.
  386. * You can use Epd::Reset() to awaken and use Epd::Init() to initialize.
  387. */
  388. void Epd::Sleep() {
  389. SendCommand(VCOM_AND_DATA_INTERVAL_SETTING);
  390. SendData(0x17); //border floating
  391. SendCommand(VCM_DC_SETTING); //VCOM to 0V
  392. SendCommand(PANEL_SETTING);
  393. DelayMs(100);
  394. SendCommand(POWER_SETTING); //VG&VS to 0V fast
  395. SendData(0x00);
  396. SendData(0x00);
  397. SendData(0x00);
  398. SendData(0x00);
  399. SendData(0x00);
  400. DelayMs(100);
  401. SendCommand(POWER_OFF); //power off
  402. WaitUntilIdle();
  403. SendCommand(DEEP_SLEEP); //deep sleep
  404. SendData(0xA5);
  405. }
  406. const unsigned char lut_vcom0[] =
  407. {
  408. 0x00, 0x17, 0x00, 0x00, 0x00, 0x02,
  409. 0x00, 0x17, 0x17, 0x00, 0x00, 0x02,
  410. 0x00, 0x0A, 0x01, 0x00, 0x00, 0x01,
  411. 0x00, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  412. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  413. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  414. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  415. };
  416. const unsigned char lut_ww[] ={
  417. 0x40, 0x17, 0x00, 0x00, 0x00, 0x02,
  418. 0x90, 0x17, 0x17, 0x00, 0x00, 0x02,
  419. 0x40, 0x0A, 0x01, 0x00, 0x00, 0x01,
  420. 0xA0, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  421. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  422. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  423. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  424. };
  425. const unsigned char lut_bw[] ={
  426. 0x40, 0x17, 0x00, 0x00, 0x00, 0x02,
  427. 0x90, 0x17, 0x17, 0x00, 0x00, 0x02,
  428. 0x40, 0x0A, 0x01, 0x00, 0x00, 0x01,
  429. 0xA0, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  430. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  431. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  432. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  433. };
  434. const unsigned char lut_bb[] ={
  435. 0x80, 0x17, 0x00, 0x00, 0x00, 0x02,
  436. 0x90, 0x17, 0x17, 0x00, 0x00, 0x02,
  437. 0x80, 0x0A, 0x01, 0x00, 0x00, 0x01,
  438. 0x50, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  439. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  440. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  441. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  442. };
  443. const unsigned char lut_wb[] ={
  444. 0x80, 0x17, 0x00, 0x00, 0x00, 0x02,
  445. 0x90, 0x17, 0x17, 0x00, 0x00, 0x02,
  446. 0x80, 0x0A, 0x01, 0x00, 0x00, 0x01,
  447. 0x50, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  448. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  449. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  450. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  451. };
  452. /******************************gray*********************************/
  453. //0~3 gray
  454. const unsigned char EPD_4IN2_4Gray_lut_vcom[] =
  455. {
  456. 0x00 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  457. 0x60 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  458. 0x00 ,0x14 ,0x00 ,0x00 ,0x00 ,0x01,
  459. 0x00 ,0x13 ,0x0A ,0x01 ,0x00 ,0x01,
  460. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  461. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  462. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00
  463. };
  464. //R21
  465. const unsigned char EPD_4IN2_4Gray_lut_ww[] ={
  466. 0x40 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  467. 0x90 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  468. 0x10 ,0x14 ,0x0A ,0x00 ,0x00 ,0x01,
  469. 0xA0 ,0x13 ,0x01 ,0x00 ,0x00 ,0x01,
  470. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  471. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  472. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  473. };
  474. //R22H r
  475. const unsigned char EPD_4IN2_4Gray_lut_bw[] ={
  476. 0x40 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  477. 0x90 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  478. 0x00 ,0x14 ,0x0A ,0x00 ,0x00 ,0x01,
  479. 0x99 ,0x0C ,0x01 ,0x03 ,0x04 ,0x01,
  480. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  481. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  482. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  483. };
  484. //R23H w
  485. const unsigned char EPD_4IN2_4Gray_lut_wb[] ={
  486. 0x40 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  487. 0x90 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  488. 0x00 ,0x14 ,0x0A ,0x00 ,0x00 ,0x01,
  489. 0x99 ,0x0B ,0x04 ,0x04 ,0x01 ,0x01,
  490. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  491. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  492. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  493. };
  494. //R24H b
  495. const unsigned char EPD_4IN2_4Gray_lut_bb[] ={
  496. 0x80 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  497. 0x90 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  498. 0x20 ,0x14 ,0x0A ,0x00 ,0x00 ,0x01,
  499. 0x50 ,0x13 ,0x01 ,0x00 ,0x00 ,0x01,
  500. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  501. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  502. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  503. };
  504. /* END OF FILE */