{"id":2172,"date":"2023-10-24T16:56:20","date_gmt":"2023-10-24T08:56:20","guid":{"rendered":"https:\/\/www.huangrongzhen.ink\/?p=2172"},"modified":"2023-11-07T11:03:53","modified_gmt":"2023-11-07T03:03:53","slug":"%e5%9c%a8-lcd-%e4%b8%8a%e6%98%be%e7%a4%ba%e6%95%b0%e7%a0%81%e7%ae%a1%e5%ad%97%e7%ac%a6","status":"publish","type":"post","link":"https:\/\/www.huangrongzhen.ink\/?p=2172","title":{"rendered":"\u5728 LCD \u4e0a\u663e\u793a\u6570\u7801\u7ba1\u5b57\u7b26"},"content":{"rendered":"<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">\u4f7f\u7528\u586b\u5145\u51fd\u6570\uff0c\u5b9e\u73b0\u5728 LCD \u4e0a\u663e\u793a\u6570\u7801\u7ba1\u5b57\u7b26 <\/p><\/div>\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E9%A9%B1%E5%8A%A8%E6%BA%90%E7%A0%81\"><\/span>\u9a71\u52a8\u6e90\u7801<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u9a71\u52a8\u4ee3\u7801\u7684 API \u63a5\u53e3\u5982\u4e0b\u6240\u793a\u3002GUIDrawNixieTubeLine2 \u51fd\u6570\u7528\u4e8e\u7ed8\u5236\u5355\u4e00\u7684\u5b57\u7b26\u7b14\u753b\uff0cGUIDrawNixieTube \u51fd\u6570\u5219\u7528\u4e8e\u7ed8\u5236\u6570\u7801\u7ba1\u5b57\u7b26\u3002\u7528\u6237\u4f7f\u7528\u7684\u65f6\u5019\uff0c\u53ea\u5173\u5fc3 GUIDrawNixieTube \u51fd\u6570\u5373\u53ef\u3002GUIDrawNixieTube \u51fd\u6570\u8c03\u7528 GUIDrawNixieTubeLine2 \u51fd\u6570\u5b9e\u73b0\u5b57\u7b26\u7ed8\u5236\u3002<\/p>\n\n\n\n<p>GUIDrawNixieTube \u51fd\u6570\u5404\u4e2a\u53c2\u6570\u7684\u610f\u4e49\u5728\u6e90\u7801\u4e2d\u6709\u6ce8\u91ca\uff0c\u4f7f\u7528\u7684\u65f6\u5019\u9700\u8981\u4ed4\u7ec6\u6838\u5bf9\u3002<\/p>\n\n\n\n<p>\u6ce8\u610f\uff1aGUIDrawNixieTube \u51fd\u6570\u4e2d\uff0cspace0 \u548c space1 \u7528\u6765\u63a7\u5236\u4e0d\u540c\u7b14\u753b\u4e4b\u95f4\u7684\u95f4\u9699\uff0c\u95f4\u9699\u8fc7\u5c0f\u6709\u53ef\u80fd\u4f1a\u51fa\u73b0\u7b14\u753b\u91cd\u5408\u7684\u60c5\u51b5\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"c\" class=\"language-c\">void GUIDrawNixieTubeLine2(unsigned int x, unsigned int y, unsigned int width, unsigned int height,\n  unsigned int type, unsigned int color);\nvoid GUIDrawNixieTube(unsigned int x, unsigned int y, unsigned int width, unsigned int height,\n  unsigned int lineSize, unsigned int space0, unsigned int space1, char code, \n  unsigned int color, unsigned int bcolor);<\/code><\/pre>\n\n\n\n<p>\u9a71\u52a8\u4ee3\u7801\u6e90\u7801\u5982\u4e0b\u6240\u793a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"c\" class=\"language-c\">\/*********************************************************************************************************\n* \u51fd\u6570\u540d\u79f0\uff1a GUIDrawNixieTubeLine2\n* \u51fd\u6570\u529f\u80fd\uff1a \u7ed8\u5236\u6570\u7801\u7ba1\u76f4\u7ebf\n* \u8f93\u5165\u53c2\u6570\uff1a x\uff0cy  \uff1a\u6574\u578b\u53d8\u91cf\u3002\u8d77\u70b9\u5750\u6807\n*            width \uff1a\u6574\u578b\u53d8\u91cf\u3002\u5bbd\u5ea6\u3002\n*            height\uff1a\u6574\u578b\u53d8\u91cf\u3002\u9ad8\u5ea6\u3002\n*            type  \uff1a\u6574\u578b\u53d8\u91cf\u3002\u7ebf\u6761\u7c7b\u578b\u53d6\u503c\u8303\u56f4 0-6\uff0c\u5177\u4f53\u5982\u4e0b\u6240\u793a\u3002\n*                        _________\n*                       |    0    |\n*                     5 |         | 1\n*                       |_________|\n*                       |    6    |\n*                     4 |         | 2\n*                       |_________|\n*                            3\n*            color \uff1a\u989c\u8272\u503c\u3002\n* \u8f93\u51fa\u53c2\u6570\uff1a void\n* \u8fd4 \u56de \u503c\uff1a void\n* \u521b\u5efa\u65e5\u671f\uff1a 2023\u5e7410\u670824\u65e5\n* \u6ce8    \u610f\uff1a\n*********************************************************************************************************\/\nvoid GUIDrawNixieTubeLine2(unsigned int x, unsigned int y, unsigned int width, unsigned int height,\n  unsigned int type, unsigned int color)\n{\n  unsigned int tx0, ty0, tx1, ty1, x0, y0, x1, y1, inverseFlag;\r\n\r\n  \/\/\u53c2\u6570\u6821\u9a8c\r\n  if ((0 == width) || (0 == height) || (type > 6)) { return; }\r\n\r\n  \/\/\u6c42\u89e3\u76ee\u6807\u533a\u57df\r\n  tx0 = x;\r\n  ty0 = y;\r\n  tx1 = tx0 + width - 1;\r\n  ty1 = ty0 + height - 1;\r\n  \r\n  \/\/\u7ed8\u5236\r\n  if (0 == type)\r\n  {\r\n    x0 = tx0;\r\n    x1 = tx1;\r\n    y0 = ty0;\r\n    y1 = ty1;\r\n    while ((y0 &lt;= y1) &amp;&amp; (x0 &lt;= x1) &amp;&amp; (x0 >= tx0) &amp;&amp; (x1 &lt;= tx1) &amp;&amp; (y0 >= ty0) &amp;&amp; (y1 &lt;= ty1))\r\n    {\r\n      GUIFillColor(x0, y0, x1, y0, color);\r\n      y0++; x0++; x1--;\r\n    }\r\n  }\r\n  else if (1 == type)\r\n  {\r\n    x0 = x1 = tx1;\r\n    y0 = ty0;\r\n    y1 = ty1 - (1 * width \/ 3);\r\n    inverseFlag = 0;\r\n    while ((x0 >= tx0) &amp;&amp; (x1 &lt;= tx1) &amp;&amp; (y0 >= ty0) &amp;&amp; (y1 &lt;= ty1))\r\n    {\r\n      GUIFillColor(x0, y0, x1, y1, color);\r\n      if (0 == inverseFlag)\r\n      {\r\n        x0--; x1--; y0++; y1++;\r\n        if (y1 > ty1)\r\n        {\r\n          y1 = ty1 - 1;\r\n          inverseFlag = 1;\r\n        }\r\n      }\r\n      else\r\n      {\r\n        x0--; x1--; y0++; y1--;\r\n      }\r\n    }\r\n  }\r\n  else if (2 == type)\r\n  {\r\n    x0 = x1 = tx1;\r\n    y0 = ty0 + (1 * width \/ 3);\r\n    y1 = ty1;\r\n    inverseFlag = 0;\r\n    while ((x0 >= tx0) &amp;&amp; (x1 &lt;= tx1) &amp;&amp; (y0 >= ty0) &amp;&amp; (y1 &lt;= ty1))\r\n    {\r\n      GUIFillColor(x0, y0, x1, y1, color);\r\n      if (0 == inverseFlag)\r\n      {\r\n        x0--; x1--; y0--; y1--;\r\n        if (y0 &lt; ty0)\r\n        {\r\n          y0 = ty0 + 1;\r\n          inverseFlag = 1;\r\n        }\r\n      }\r\n      else\r\n      {\r\n        x0--; x1--; y0++; y1--;\r\n      }\r\n    }\r\n  }\r\n  else if (3 == type)\r\n  {\r\n    x0 = tx0;\r\n    x1 = tx1;\r\n    y0 = ty0;\r\n    y1 = ty1;\r\n    while ((y0 &lt;= y1) &amp;&amp; (x0 &lt;= x1) &amp;&amp; (x0 >= tx0) &amp;&amp; (x1 &lt;= tx1) &amp;&amp; (y0 >= ty0) &amp;&amp; (y1 &lt;= ty1))\r\n    {\r\n      GUIFillColor(x0, y1, x1, y1, color);\r\n      y1--; x0++; x1--;\r\n    }\r\n  }\r\n  else if (4 == type)\r\n  {\r\n    x0 = x1 = tx0;\r\n    y0 = ty0 + (1 * width \/ 3);\r\n    y1 = ty1;\r\n    inverseFlag = 0;\r\n    while ((x0 >= tx0) &amp;&amp; (x1 &lt;= tx1) &amp;&amp; (y0 >= ty0) &amp;&amp; (y1 &lt;= ty1))\r\n    {\r\n      GUIFillColor(x0, y0, x1, y1, color);\r\n      if (0 == inverseFlag)\r\n      {\r\n        x0++; x1++; y0--; y1--;\r\n        if (y0 &lt; ty0)\r\n        {\r\n          y0 = ty0 + 1;\r\n          inverseFlag = 1;\r\n        }\r\n      }\r\n      else\r\n      {\r\n        x0++; x1++; y0++; y1--;\r\n      }\r\n    }\r\n  }\r\n  else if (5 == type)\r\n  {\r\n    x0 = x1 = tx0;\r\n    y0 = ty0;\r\n    y1 = ty1 - (1 * width \/ 3);\r\n    inverseFlag = 0;\r\n    while ((x0 >= tx0) &amp;&amp; (x1 &lt;= tx1) &amp;&amp; (y0 >= ty0) &amp;&amp; (y1 &lt;= ty1))\r\n    {\r\n      GUIFillColor(x0, y0, x1, y1, color);\r\n      if (0 == inverseFlag)\r\n      {\r\n        x0++; x1++; y0++; y1++;\r\n        if (y1 > ty1)\r\n        {\r\n          y1 = ty1 - 1;\r\n          inverseFlag = 1;\r\n        }\r\n      }\r\n      else\r\n      {\r\n        x0++; x1++; y0++; y1--;\r\n      }\r\n    }\r\n  }\r\n  else if (6 == type)\r\n  {\r\n    x0 = tx0;\r\n    x1 = tx1;\r\n    y0 = ty0;\r\n    y1 = (ty0 + ty1) \/ 2;\r\n    while ((y0 &lt;= y1) &amp;&amp; (x0 &lt;= x1) &amp;&amp; (x0 >= tx0) &amp;&amp; (x1 &lt;= tx1) &amp;&amp; (y0 >= ty0) &amp;&amp; (y1 &lt;= ty1))\r\n    {\r\n      GUIFillColor(x0, y1, x1, y1, color);\r\n      y1--; x0++; x1--;\r\n    }\r\n    x0 = tx0;\r\n    x1 = tx1;\r\n    if (0 == (height % 2)) { y0 = (ty0 + ty1 + 1) \/ 2; }\r\n    else { y0 = (ty0 + ty1) \/ 2; }\r\n    y1 = ty1;\r\n    while ((y0 &lt;= y1) &amp;&amp; (x0 &lt;= x1) &amp;&amp; (x0 >= tx0) &amp;&amp; (x1 &lt;= tx1) &amp;&amp; (y0 >= ty0) &amp;&amp; (y1 &lt;= ty1))\r\n    {\r\n      GUIFillColor(x0, y0, x1, y0, color);\r\n      y0++; x0++; x1--;\r\n    }\r\n  }\n}\n\n\/*********************************************************************************************************\n* \u51fd\u6570\u540d\u79f0\uff1a GUIDrawNixieTube\n* \u51fd\u6570\u529f\u80fd\uff1a \u7ed8\u5236\u6570\u7801\u7ba1\n* \u8f93\u5165\u53c2\u6570\uff1a x\uff0cy    \uff1a\u6574\u578b\u53d8\u91cf\u3002\u8d77\u70b9\u5750\u6807\n*            width   \uff1a\u6574\u578b\u53d8\u91cf\u3002\u5bbd\u5ea6\u3002\n*            height  \uff1a\u6574\u578b\u53d8\u91cf\u3002\u9ad8\u5ea6\u3002\n*            lineSize\uff1a\u6574\u578b\u53d8\u91cf\u3002\u7ebf\u6761\u5bbd\u5ea6\u3002\n*            space0  \uff1a\u6574\u578b\u53d8\u91cf\u3002\u7528\u4e8e\u63a7\u5236 0-5 \u53f7\u7ebf\u4e4b\u95f4\u7684\u7f1d\u9699\u5927\u5c0f\u3002\n*            space1  \uff1a\u6574\u578b\u53d8\u91cf\u3002\u7528\u4e8e\u63a7\u5236 6 \u53f7\u7ebf\u7684\u7f1d\u9699\u5927\u5c0f\u3002\n*            code    \uff1a\u6574\u578b\u53d8\u91cf\u3002\u5b57\u7b26\u7f16\u7801\uff0c\u53d6\u503c '0'-'9'\u3001'A'\u3001'b'\u3001'C'\u3001'd'\u3001'E'\u3001'F'\u3001'-'\n*            color   \uff1a\u6574\u578b\u53d8\u91cf\u3002\u989c\u8272\u503c\n*            bcolor  \uff1a\u6574\u578b\u53d8\u91cf\u3002\u80cc\u666f\u989c\u8272\u503c\u3002\n* \u8f93\u51fa\u53c2\u6570\uff1a void\n* \u8fd4 \u56de \u503c\uff1a void\n* \u521b\u5efa\u65e5\u671f\uff1a 2023\u5e7410\u670824\u65e5\n* \u6ce8    \u610f\uff1a\n*********************************************************************************************************\/\nvoid GUIDrawNixieTube(unsigned int x, unsigned int y, unsigned int width, unsigned int height,\n  unsigned int lineSize, unsigned int space0, unsigned int space1, char code,\n  unsigned int color, unsigned int bcolor)\n{\n  \/\/\u5171\u9633\u6781\u4e03\u6bb5\u6570\u7801\u7ba1\u8bd1\u7801\u8868\n  \/\/\u5bf9\u5e94 '0'-'9'\u3001'A'\u3001'b'\u3001'C'\u3001'd'\u3001'E'\u3001'F'\u3001'-'\n  static const unsigned char s_arrNixieTubeTbl[] = {\n  0xC0, 0xF9, 0xA4, 0xB0, 0x99, 0x92, 0x82, 0xF8, 0x80, 0x90, 0x88, 0x83, 0xC6, 0xA1, 0x86, 0x8E, 0xBF };\n  unsigned int tx0, ty0, tx1, ty1, x0, y0, x1, y1, tWidth, tHeight, tCode;\n\n  \/\/\u53c2\u6570\u6821\u9a8c\n  if((0 == width) || (0 == height) || (0 == lineSize)) { return; }\n\n  \/\/\u53d6\u51fa\u8bd1\u7801\u8868\u4e2d\u7684\u6570\u636e\n  if ((code >= '0') &amp;&amp; (code &lt;= '9'))\n  {\n    tCode = s_arrNixieTubeTbl[code - '0'];\n  }\n  else\n  {\n    \/\/'A'\u3001'b'\u3001'C'\u3001'd'\u3001'E'\u3001'F'\u3001'-'\n    switch (code)\n    {\n      case 'A': tCode = s_arrNixieTubeTbl[10]; break;\n      case 'b': tCode = s_arrNixieTubeTbl[11]; break;\n      case 'C': tCode = s_arrNixieTubeTbl[12]; break;\n      case 'd': tCode = s_arrNixieTubeTbl[13]; break;\n      case 'E': tCode = s_arrNixieTubeTbl[14]; break;\n      case 'F': tCode = s_arrNixieTubeTbl[15]; break;\n      case '-': tCode = s_arrNixieTubeTbl[16]; break;\n      default: return;\n    }\n  }\n\n  \/\/\u786e\u5b9a\u663e\u793a\u533a\u57df\u5927\u5c0f\n  tx0 = x;\n  ty0 = y;\n  tx1 = tx0 + width - 1;\n  ty1 = ty0 + height - 1;\n\n  \/\/\u7ed8\u5236 0 \u53f7\u7ebf\n  x0 = tx0 + space0;\n  x1 = tx1 - space0;\n  y0 = ty0;\n  y1 = ty0 + lineSize - 1;\n  tWidth = x1 - x0 + 1;\n  tHeight = y1 - y0 + 1;\n  if(0 == (tCode &amp; 0x01)) { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 0, color); }\n  else { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 0, bcolor); }\n  tCode = tCode >> 1;\n\n  \/\/\u7ed8\u5236 1 \u53f7\u7ebf\n  x0 = tx1 - lineSize + 1;\n  x1 = tx1;\n  y0 = ty0 + space0;\n  y1 = ((ty0 + ty1) \/ 2) - space0;\n  tWidth = x1 - x0 + 1;\n  tHeight = y1 - y0 + 1;\n  if (0 == (tCode &amp; 0x01)) { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 1, color); }\n  else { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 1, bcolor); }\n  tCode = tCode >> 1;\n\n  \/\/\u7ed8\u5236 2 \u53f7\u7ebf\n  x0 = tx1 - lineSize + 1;\n  x1 = tx1;\n  y0 = ((ty0 + ty1) \/ 2) + space0;\n  y1 = ty1 - space0;\n  tWidth = x1 - x0 + 1;\n  tHeight = y1 - y0 + 1;\n  if (0 == (tCode &amp; 0x01)) { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 2, color); }\n  else { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 2, bcolor); }\n  tCode = tCode >> 1;\n\n  \/\/\u7ed8\u5236 3 \u53f7\u7ebf\n  x0 = tx0 + space0;\n  x1 = tx1 - space0;\n  y0 = ty1 - lineSize + 1;\n  y1 = ty1;\n  tWidth = x1 - x0 + 1;\n  tHeight = y1 - y0 + 1;\n  if (0 == (tCode &amp; 0x01)) { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 3, color); }\n  else { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 3, bcolor); }\n  tCode = tCode >> 1;\n\n  \/\/\u7ed8\u5236 4 \u53f7\u7ebf\n  x0 = tx0;\n  y0 = ((ty0 + ty1) \/ 2) + space0;\n  x1 = tx0 + lineSize - 1;\n  y1 = ty1 - space0;\n  tWidth = x1 - x0 + 1;\n  tHeight = y1 - y0 + 1;\n  if (0 == (tCode &amp; 0x01)) { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 4, color); }\n  else { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 4, bcolor); }\n  tCode = tCode >> 1;\n\n  \/\/\u7ed8\u5236 5 \u53f7\u7ebf\n  x0 = tx0;\n  y0 = ty0 + space0;\n  x1 = tx0 + lineSize - 1;\n  y1 = ((ty0 + ty1) \/ 2) - space0;\n  tWidth = x1 - x0 + 1;\n  tHeight = y1 - y0 + 1;\n  if (0 == (tCode &amp; 0x01)) { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 5, color); }\n  else { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 5, bcolor); }\n  tCode = tCode >> 1;\n\n  \/\/\u7ed8\u5236 6 \u53f7\u7ebf\n  x0 = tx0 + space1;\n  x1 = tx1 - space1;\n  y0 = ((ty0 + ty1) \/ 2) - (lineSize \/ 2);\n  y1 = ((ty0 + ty1) \/ 2) + (lineSize \/ 2);\n  tWidth = x1 - x0 + 1;\n  tHeight = y1 - y0 + 1;\n  if (0 == (tCode &amp; 0x01)) { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 6, color); }\n  else { GUIDrawNixieTubeLine2(x0, y0, tWidth, tHeight, 6, bcolor); }\n  tCode = tCode >> 1;\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%B5%8B%E8%AF%95%E4%BB%A3%E7%A0%81\"><\/span>\u6d4b\u8bd5\u4ee3\u7801<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u6d4b\u8bd5\u4ee3\u7801\u5982\u4e0b\u6240\u793a\uff0c\u8fd9\u91cc\u505a\u4e86\u4e00\u4e2a\u7b80\u5355\u7684\u8ba1\u65f6\u5668\uff0c\u5047\u5b9a\u5c4f\u5e55\u5c3a\u5bf8 800&#215;480\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"c\" class=\"language-c\">int main(void)\n{\n  int min, sec;\n\n  \/\/\u8bbe\u7f6e\u521d\u59cb\u72b6\u6001\n  min = 0;\n  sec = 0;\n\n  \/\/\u521d\u59cb\u5316\n  InitLCD();\n\n  \/\/\u5237\u7eaf\u9ed1\u80cc\u666f\n  GUIFillColor(0, 0, 799, 479, GUI_COLOR_BLACK);\n\n  \/\/\u7ed8\u5236\u5192\u53f7\n  GUIFillColor(365, 200, 405, 240, GUI_COLOR_WHITE);\n  GUIFillColor(365, 300, 405, 340, GUI_COLOR_WHITE);\n\n  \/\/\u4e3b\u5faa\u73af\n  while (1)\n  {\n    \/\/\u663e\u793a\u5f53\u524d\u65f6\u95f4\n    GUIDrawNixieTube(75 , 150, 100, 200, 25, 6, 13, (min \/ 10) + '0', GUI_COLOR_WHITE, GUI_COLOR_BLACK);\n    GUIDrawNixieTube(200, 150, 100, 200, 25, 6, 13, (min % 10) + '0', GUI_COLOR_WHITE, GUI_COLOR_BLACK);\n    GUIDrawNixieTube(475, 150, 100, 200, 25, 6, 13, (sec \/ 10) + '0', GUI_COLOR_WHITE, GUI_COLOR_BLACK);\n    GUIDrawNixieTube(600, 150, 100, 200, 25, 6, 13, (sec % 10) + '0', GUI_COLOR_WHITE, GUI_COLOR_BLACK);\n\n    \/\/\u8ba1\u6570\u52a0\u4e00\n    sec = (sec + 1) % 60;\n    if (0 == sec)\n    {\n      min = (min + 1) % 60;\n    }\n\n    \/\/\u5ef6\u65f6 1s \u949f\n    Sleep(1000);\n  }\n\n  return 0;\n}<\/code><\/pre>\n\n\n\n<p>\u6700\u7ec8\u6548\u679c\u5982\u4e0b\u6240\u793a\u3002\u8fd9\u4e2a\u6570\u7801\u7ba1\u663e\u793a\u9a71\u52a8\u53ef\u4ee5\u8f7b\u677e\u7684\u79fb\u690d\u5230\u5355\u7247\u673a\u4e0a\uff0c\u5728 LCD \u6216 OLED \u663e\u793a\u6570\u7801\u7ba1\u5b57\u7b26\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"786\" height=\"470\" src=\"http:\/\/www.huangrongzhen.ink\/wp-content\/uploads\/2023\/10\/LCD-\u663e\u793a\u6570\u7801\u7ba1\u5b57\u7b26-20231024A.gif\" alt=\"\" class=\"wp-image-2171\"\/><\/figure><\/div>","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528\u586b\u5145\u51fd\u6570\uff0c\u5b9e\u73b0\u5728 LCD \u4e0a\u663e\u793a\u6570\u7801\u7ba1\u5b57\u7b26<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=\/wp\/v2\/posts\/2172"}],"collection":[{"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2172"}],"version-history":[{"count":5,"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=\/wp\/v2\/posts\/2172\/revisions"}],"predecessor-version":[{"id":2184,"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=\/wp\/v2\/posts\/2172\/revisions\/2184"}],"wp:attachment":[{"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.huangrongzhen.ink\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}