2
0

epd4in2.cpp 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573
  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. SendCommand(0x71);
  117. while(DigitalRead(busy_pin) == 0) { //0: busy, 1: idle
  118. DelayMs(100);
  119. SendCommand(0x71);
  120. }
  121. }
  122. /**
  123. * @brief: module reset.
  124. * often used to awaken the module in deep sleep,
  125. * see Epd::Sleep();
  126. */
  127. void Epd::Reset(void) {
  128. DigitalWrite(reset_pin, LOW);
  129. DelayMs(2);
  130. DigitalWrite(reset_pin, HIGH);
  131. DelayMs(20);
  132. DigitalWrite(reset_pin, LOW);
  133. DelayMs(2);
  134. DigitalWrite(reset_pin, HIGH);
  135. DelayMs(20);
  136. DigitalWrite(reset_pin, LOW);
  137. DelayMs(2);
  138. DigitalWrite(reset_pin, HIGH);
  139. DelayMs(20);
  140. }
  141. /**
  142. * @brief: transmit partial data to the SRAM
  143. */
  144. void Epd::SetPartialWindow(const unsigned char* buffer_black, int x, int y, int w, int l) {
  145. SendCommand(PARTIAL_IN);
  146. SendCommand(PARTIAL_WINDOW);
  147. SendData(x >> 8);
  148. SendData(x & 0xf8); // x should be the multiple of 8, the last 3 bit will always be ignored
  149. SendData(((x & 0xf8) + w - 1) >> 8);
  150. SendData(((x & 0xf8) + w - 1) | 0x07);
  151. SendData(y >> 8);
  152. SendData(y & 0xff);
  153. SendData((y + l - 1) >> 8);
  154. SendData((y + l - 1) & 0xff);
  155. SendData(0x01); // Gates scan both inside and outside of the partial window. (default)
  156. DelayMs(2);
  157. SendCommand(DATA_START_TRANSMISSION_2);
  158. if (buffer_black != NULL) {
  159. for(int i = 0; i < w / 8 * l; i++) {
  160. SendData(buffer_black[i]);
  161. }
  162. } else {
  163. for(int i = 0; i < w / 8 * l; i++) {
  164. SendData(0x00);
  165. }
  166. }
  167. DelayMs(2);
  168. SendCommand(PARTIAL_OUT);
  169. }
  170. void Epd::Set_4GrayDisplay(const char *Image, int x, int y, int w, int l)
  171. {
  172. int i,j,k,m;
  173. int z=0;
  174. unsigned char temp1,temp2,temp3;
  175. /****Color display description****
  176. white gray1 gray2 black
  177. 0x10| 01 01 00 00
  178. 0x13| 01 00 01 00
  179. *********************************/
  180. SendCommand(0x10);
  181. z=0;
  182. x= x/8*8;
  183. for(m = 0; m<EPD_HEIGHT;m++)
  184. for(i=0;i<EPD_WIDTH/8;i++)
  185. {
  186. if(i >= x/8 && i <(x+w)/8 && m >= y && m < y+l){
  187. temp3=0;
  188. for(j=0;j<2;j++)
  189. {
  190. temp1 = pgm_read_byte(&Image[z*2+j]);
  191. for(k=0;k<2;k++)
  192. {
  193. temp2 = temp1&0xC0 ;
  194. if(temp2 == 0xC0)
  195. temp3 |= 0x01;//white
  196. else if(temp2 == 0x00)
  197. temp3 |= 0x00; //black
  198. else if(temp2 == 0x80)
  199. temp3 |= 0x01; //gray1
  200. else //0x40
  201. temp3 |= 0x00; //gray2
  202. temp3 <<= 1;
  203. temp1 <<= 2;
  204. temp2 = temp1&0xC0 ;
  205. if(temp2 == 0xC0) //white
  206. temp3 |= 0x01;
  207. else if(temp2 == 0x00) //black
  208. temp3 |= 0x00;
  209. else if(temp2 == 0x80)
  210. temp3 |= 0x01; //gray1
  211. else //0x40
  212. temp3 |= 0x00; //gray2
  213. if(j!=1 || k!=1)
  214. temp3 <<= 1;
  215. temp1 <<= 2;
  216. }
  217. }
  218. z++;
  219. SendData(temp3);
  220. }else{
  221. SendData(0xff);
  222. }
  223. }
  224. // new data
  225. SendCommand(0x13);
  226. z=0;
  227. for(m = 0; m<EPD_HEIGHT;m++)
  228. for(i=0;i<EPD_WIDTH/8;i++)
  229. {
  230. if(i >= x/8 && i <(x+w)/8 && m >= y && m < y+l){
  231. temp3=0;
  232. for(j=0;j<2;j++)
  233. {
  234. temp1 = pgm_read_byte(&Image[z*2+j]);
  235. for(k=0;k<2;k++)
  236. {
  237. temp2 = temp1&0xC0 ;
  238. if(temp2 == 0xC0)
  239. temp3 |= 0x01;//white
  240. else if(temp2 == 0x00)
  241. temp3 |= 0x00; //black
  242. else if(temp2 == 0x80)
  243. temp3 |= 0x00; //gray1
  244. else //0x40
  245. temp3 |= 0x01; //gray2
  246. temp3 <<= 1;
  247. temp1 <<= 2;
  248. temp2 = temp1&0xC0 ;
  249. if(temp2 == 0xC0) //white
  250. temp3 |= 0x01;
  251. else if(temp2 == 0x00) //black
  252. temp3 |= 0x00;
  253. else if(temp2 == 0x80)
  254. temp3 |= 0x00; //gray1
  255. else //0x40
  256. temp3 |= 0x01; //gray2
  257. if(j!=1 || k!=1)
  258. temp3 <<= 1;
  259. temp1 <<= 2;
  260. }
  261. }
  262. z++;
  263. SendData(temp3);
  264. }else {
  265. SendData(0xff);
  266. }
  267. }
  268. set4Gray_lut();
  269. SendCommand(DISPLAY_REFRESH);
  270. DelayMs(100);
  271. WaitUntilIdle();
  272. }
  273. /**
  274. * @brief: set the look-up table
  275. */
  276. void Epd::SetLut(void) {
  277. unsigned int count;
  278. SendCommand(LUT_FOR_VCOM); //vcom
  279. for(count = 0; count < 44; count++) {
  280. SendData(lut_vcom0[count]);
  281. }
  282. SendCommand(LUT_WHITE_TO_WHITE); //ww --
  283. for(count = 0; count < 42; count++) {
  284. SendData(lut_ww[count]);
  285. }
  286. SendCommand(LUT_BLACK_TO_WHITE); //bw r
  287. for(count = 0; count < 42; count++) {
  288. SendData(lut_bw[count]);
  289. }
  290. SendCommand(LUT_WHITE_TO_BLACK); //wb w
  291. for(count = 0; count < 42; count++) {
  292. SendData(lut_bb[count]);
  293. }
  294. SendCommand(LUT_BLACK_TO_BLACK); //bb b
  295. for(count = 0; count < 42; count++) {
  296. SendData(lut_wb[count]);
  297. }
  298. }
  299. void Epd::set4Gray_lut(void)
  300. {
  301. unsigned int count;
  302. {
  303. SendCommand(0x20); //vcom
  304. for(count=0;count<42;count++)
  305. {SendData(EPD_4IN2_4Gray_lut_vcom[count]);}
  306. SendCommand(0x21); //red not use
  307. for(count=0;count<42;count++)
  308. {SendData(EPD_4IN2_4Gray_lut_ww[count]);}
  309. SendCommand(0x22); //bw r
  310. for(count=0;count<42;count++)
  311. {SendData(EPD_4IN2_4Gray_lut_bw[count]);}
  312. SendCommand(0x23); //wb w
  313. for(count=0;count<42;count++)
  314. {SendData(EPD_4IN2_4Gray_lut_wb[count]);}
  315. SendCommand(0x24); //bb b
  316. for(count=0;count<42;count++)
  317. {SendData(EPD_4IN2_4Gray_lut_bb[count]);}
  318. SendCommand(0x25); //vcom
  319. for(count=0;count<42;count++)
  320. {SendData(EPD_4IN2_4Gray_lut_ww[count]);}
  321. }
  322. }
  323. /**
  324. * @brief: refresh and displays the frame
  325. */
  326. void Epd::DisplayFrame(const unsigned char* frame_buffer) {
  327. SendCommand(RESOLUTION_SETTING);
  328. SendData(width >> 8);
  329. SendData(width & 0xff);
  330. SendData(height >> 8);
  331. SendData(height & 0xff);
  332. SendCommand(VCM_DC_SETTING);
  333. SendData(0x12);
  334. SendCommand(VCOM_AND_DATA_INTERVAL_SETTING);
  335. SendCommand(0x97); //VBDF 17|D7 VBDW 97 VBDB 57 VBDF F7 VBDW 77 VBDB 37 VBDR B7
  336. if (frame_buffer != NULL) {
  337. SendCommand(DATA_START_TRANSMISSION_1);
  338. for(int i = 0; i < width / 8 * height; i++) {
  339. SendData(0xFF); // bit set: white, bit reset: black
  340. }
  341. DelayMs(2);
  342. SendCommand(DATA_START_TRANSMISSION_2);
  343. for(int i = 0; i < width / 8 * height; i++) {
  344. SendData(pgm_read_byte(&frame_buffer[i]));
  345. }
  346. DelayMs(2);
  347. }
  348. SetLut();
  349. SendCommand(DISPLAY_REFRESH);
  350. DelayMs(100);
  351. WaitUntilIdle();
  352. }
  353. /**
  354. * @brief: clear the frame data from the SRAM, this won't refresh the display
  355. */
  356. void Epd::ClearFrame(void) {
  357. SendCommand(RESOLUTION_SETTING);
  358. SendData(width >> 8);
  359. SendData(width & 0xff);
  360. SendData(height >> 8);
  361. SendData(height & 0xff);
  362. SendCommand(DATA_START_TRANSMISSION_1);
  363. DelayMs(2);
  364. for(int i = 0; i < width / 8 * height; i++) {
  365. SendData(0xFF);
  366. }
  367. DelayMs(2);
  368. SendCommand(DATA_START_TRANSMISSION_2);
  369. DelayMs(2);
  370. for(int i = 0; i < width / 8 * height; i++) {
  371. SendData(0xFF);
  372. }
  373. DelayMs(2);
  374. SetLut();
  375. SendCommand(DISPLAY_REFRESH);
  376. DelayMs(100);
  377. WaitUntilIdle();
  378. }
  379. /**
  380. * @brief: This displays the frame data from SRAM
  381. */
  382. void Epd::DisplayFrame(void) {
  383. SetLut();
  384. SendCommand(DISPLAY_REFRESH);
  385. DelayMs(100);
  386. WaitUntilIdle();
  387. }
  388. /**
  389. * @brief: After this command is transmitted, the chip would enter the deep-sleep mode to save power.
  390. * The deep sleep mode would return to standby by hardware reset. The only one parameter is a
  391. * check code, the command would be executed if check code = 0xA5.
  392. * You can use Epd::Reset() to awaken and use Epd::Init() to initialize.
  393. */
  394. void Epd::Sleep() {
  395. SendCommand(VCOM_AND_DATA_INTERVAL_SETTING);
  396. SendData(0x17); //border floating
  397. SendCommand(VCM_DC_SETTING); //VCOM to 0V
  398. SendCommand(PANEL_SETTING);
  399. DelayMs(100);
  400. SendCommand(POWER_SETTING); //VG&VS to 0V fast
  401. SendData(0x00);
  402. SendData(0x00);
  403. SendData(0x00);
  404. SendData(0x00);
  405. SendData(0x00);
  406. DelayMs(100);
  407. SendCommand(POWER_OFF); //power off
  408. WaitUntilIdle();
  409. SendCommand(DEEP_SLEEP); //deep sleep
  410. SendData(0xA5);
  411. }
  412. const unsigned char lut_vcom0[] =
  413. {
  414. 0x00, 0x17, 0x00, 0x00, 0x00, 0x02,
  415. 0x00, 0x17, 0x17, 0x00, 0x00, 0x02,
  416. 0x00, 0x0A, 0x01, 0x00, 0x00, 0x01,
  417. 0x00, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  418. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  419. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  420. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  421. };
  422. const unsigned char lut_ww[] ={
  423. 0x40, 0x17, 0x00, 0x00, 0x00, 0x02,
  424. 0x90, 0x17, 0x17, 0x00, 0x00, 0x02,
  425. 0x40, 0x0A, 0x01, 0x00, 0x00, 0x01,
  426. 0xA0, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  427. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  428. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  429. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  430. };
  431. const unsigned char lut_bw[] ={
  432. 0x40, 0x17, 0x00, 0x00, 0x00, 0x02,
  433. 0x90, 0x17, 0x17, 0x00, 0x00, 0x02,
  434. 0x40, 0x0A, 0x01, 0x00, 0x00, 0x01,
  435. 0xA0, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  436. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  437. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  438. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  439. };
  440. const unsigned char lut_bb[] ={
  441. 0x80, 0x17, 0x00, 0x00, 0x00, 0x02,
  442. 0x90, 0x17, 0x17, 0x00, 0x00, 0x02,
  443. 0x80, 0x0A, 0x01, 0x00, 0x00, 0x01,
  444. 0x50, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  445. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  446. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  447. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  448. };
  449. const unsigned char lut_wb[] ={
  450. 0x80, 0x17, 0x00, 0x00, 0x00, 0x02,
  451. 0x90, 0x17, 0x17, 0x00, 0x00, 0x02,
  452. 0x80, 0x0A, 0x01, 0x00, 0x00, 0x01,
  453. 0x50, 0x0E, 0x0E, 0x00, 0x00, 0x02,
  454. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  455. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  456. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
  457. };
  458. /******************************gray*********************************/
  459. //0~3 gray
  460. const unsigned char EPD_4IN2_4Gray_lut_vcom[] =
  461. {
  462. 0x00 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  463. 0x60 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  464. 0x00 ,0x14 ,0x00 ,0x00 ,0x00 ,0x01,
  465. 0x00 ,0x13 ,0x0A ,0x01 ,0x00 ,0x01,
  466. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  467. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  468. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00
  469. };
  470. //R21
  471. const unsigned char EPD_4IN2_4Gray_lut_ww[] ={
  472. 0x40 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  473. 0x90 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  474. 0x10 ,0x14 ,0x0A ,0x00 ,0x00 ,0x01,
  475. 0xA0 ,0x13 ,0x01 ,0x00 ,0x00 ,0x01,
  476. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  477. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  478. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  479. };
  480. //R22H r
  481. const unsigned char EPD_4IN2_4Gray_lut_bw[] ={
  482. 0x40 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  483. 0x90 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  484. 0x00 ,0x14 ,0x0A ,0x00 ,0x00 ,0x01,
  485. 0x99 ,0x0C ,0x01 ,0x03 ,0x04 ,0x01,
  486. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  487. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  488. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  489. };
  490. //R23H w
  491. const unsigned char EPD_4IN2_4Gray_lut_wb[] ={
  492. 0x40 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  493. 0x90 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  494. 0x00 ,0x14 ,0x0A ,0x00 ,0x00 ,0x01,
  495. 0x99 ,0x0B ,0x04 ,0x04 ,0x01 ,0x01,
  496. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  497. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  498. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  499. };
  500. //R24H b
  501. const unsigned char EPD_4IN2_4Gray_lut_bb[] ={
  502. 0x80 ,0x0A ,0x00 ,0x00 ,0x00 ,0x01,
  503. 0x90 ,0x14 ,0x14 ,0x00 ,0x00 ,0x01,
  504. 0x20 ,0x14 ,0x0A ,0x00 ,0x00 ,0x01,
  505. 0x50 ,0x13 ,0x01 ,0x00 ,0x00 ,0x01,
  506. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  507. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  508. 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00,
  509. };
  510. /* END OF FILE */