{"id":132,"date":"2021-06-04T02:32:00","date_gmt":"2021-06-04T02:32:00","guid":{"rendered":"https:\/\/262235.xyz\/?p=132"},"modified":"2021-06-04T02:32:00","modified_gmt":"2021-06-04T02:32:00","slug":"132","status":"publish","type":"post","link":"https:\/\/lyvba.com\/index.php\/2021\/06\/04\/132\/","title":{"rendered":"CodeBlocks  Keil C51\u7f16\u8bd1\u5668 C51\u5355\u7247\u673a\u5b66\u4e60"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/lyvba.com\/wp-content\/uploads\/2021\/06\/3566418983.jpg\" alt=\"C51.jpg\" title=\"C51.jpg\"><\/p>\n<h1>stc89c52  :+1: \u6211\u7684\u5f81\u9014\u662f\u661f\u8fb0\u5927\u6d77\uff01<\/h1>\n<h2>\u57fa\u7840\u5b9e\u9a8c\u4f8b\u7a0b\u66f4\u65b0 :gift: <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/src\">Keil C51 \u7f16\u8bd1\u6e90\u7801<\/a> \ud83d\ude42 <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/sdcc\/lib_src\">SDCC lib\u6e90\u7801<\/a><\/h2>\n<h3>CodeBlocks + Keil_C51\u7f16\u8bd1\u5668 C51\u5355\u7247\u673a\u5b66\u4e60 \u8bbe\u7f6e\u89c6\u9891\u6f14\u793a<\/h3>\n<ul>\n<li>\u7f51\u5740\uff1a  <a href=\"https:\/\/youtu.be\/2YKXRX7Nckk\">https:\/\/youtu.be\/2YKXRX7Nckk<\/a>   \ud83d\ude42  B\u7ad9: <a href=\"https:\/\/www.bilibili.com\/video\/av62289305\">https:\/\/www.bilibili.com\/video\/av62289305<\/a><\/li>\n<li>\u9f99\u82af\u5c0f\u672c: <a href=\"http:\/\/srgb.vicp.net\/2019\/08\/17\/c51_pcb_vod\/\">\u6d77\u521b\u7535\u5b50 51\u5355\u7247\u673a\u57fa\u7840 \u89c6\u9891\u6559\u7a0b\uff0c\u4f7f\u7528Altium Designer10\u7ed8\u5236Arduino\u5355\u7247\u673a<\/a><\/li>\n<\/ul>\n<h3>\u63a8\u8350\u65b0\u624b2\u4e2a\u8bb2\u7684\u633a\u597d\u7684\u57fa\u7840\u89c6\u9891\u6559\u7a0b\u96c6\u5408<\/h3>\n<ul>\n<li>\u6d77\u521b\u7535\u5b50 51\u5355\u7247\u673a\u57fa\u7840   <a href=\"https:\/\/space.bilibili.com\/93630735\/channel\/detail?cid=76908\">https:\/\/space.bilibili.com\/93630735\/channel\/detail?cid=76908<\/a><\/li>\n<li>\u590f\u8001\u5e08\u5341\u5929\u73a9\u8f6c\u5355\u7247\u673a\u89c6\u5c4f\u6559\u7a0b-\u96f6\u57fa\u7840\u6559\u5b66  <a href=\"https:\/\/www.bilibili.com\/video\/av37406640\">https:\/\/www.bilibili.com\/video\/av37406640<\/a><\/li>\n<\/ul>\n<h3>:100: <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/Document\">51\u5355\u7247\u673a\u7535\u8def\u539f\u7406\u56fe_HC6800-ES_V2.0\u65b0\u7248.pdf<\/a>  :+1: <a href=\"https:\/\/github.com\/hongwenjun\/img\/tree\/master\/c51\">\u5f00\u53d1\u677f\u5176\u4ed6\u5668\u4ef6\u82af\u7247\u4e2d\u6587\u624b\u518c<\/a><\/h3>\n<hr \/>\n<h2>CodeBlocks\u914d\u7f6e\u4f7f\u7528Keil_C51\u7f16\u8bd1\u5668\u5355\u7247\u673a\u7f16\u8bd1\u8bbe\u7f6e\u65b9\u6cd5<\/h2>\n<ul>\n<li>\n<p><a href=\"https:\/\/www.keil.com\/download\/product\/\">Keil uVision5  C51<\/a>\u7f16\u8bd1\u5668, \u5b89\u88c5\u76ee\u5f55<\/p>\n<p>C:Keil<\/p>\n<\/li>\n<li>\n<p>CodeBlocks\u7f16\u8bd1\u5668\u8bbe\u7f6e\uff0c\u9009\u62e9 Keil C51 Compiler<\/p>\n<pre><code>\u7f16\u8bd1\u5668\u76ee\u5f55\u586b            C:KeilC51\n\u641c\u7d22\u76ee\u5f55-\u7f16\u8bd1\u5668\u5934\u6587\u4ef6   C:KeilC51INC\n\u641c\u7d22\u76ee\u5f55-\u7f16\u8bd1\u5668\u5e93\u6587\u4ef6   C:KeilC51LIB<\/code><\/pre>\n<h3>\u8f6c\u6362 HEX \u5de5\u5177\u914d\u7f6e<\/h3>\n<pre><code>\u540d\u79f0: Keil_C51\u7f16\u8bd1_\u751f\u6210HEX\n\u53ef\u6267\u884c\u7a0b\u5e8f:  OH51.EXE\n\n$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).omf<\/code><\/pre>\n<\/li>\n<\/ul>\n<hr \/>\n<h2>CodeBlocks + <a href=\"http:\/\/sdcc.sourceforge.net\">SDCC\u5f00\u6e90\u7f16\u8bd1\u5668<\/a> C51\u5355\u7247\u673a\u7f16\u8bd1\u8bbe\u7f6e<\/h2>\n<p>:100: SDCC-\u5c0f\u578b\u8bbe\u5907C\u7f16\u8bd1\u5668,\u662f\u4e00\u4e2a\u53ef\u91cd\u65b0\u5b9a\u4f4d\u7684\u4f18\u5316\u6807\u51c6C\uff08ANSI C89\uff0cISO C99\uff0cISO C11\uff09\u7f16\u8bd1\u5668\u5957\u4ef6\uff0c\u9488\u5bf9\u57fa\u4e8eIntel MCS51\u7684\u5fae\u5904\u7406\u5668\uff088031,8032,8051,8052 \u7b49\uff09\uff0c<br \/>Maxim\uff08\u4ee5\u524d\u7684Dallas\uff09DS80C390\u53d8\u4f53\uff0c Freescale\uff08\u4ee5\u524d\u7684\u6469\u6258\u7f57\u62c9\uff09\u57fa\u4e8eHC08 \uff08hc08\uff0cs08\uff09\uff0c \u57fa\u4e8eZilog Z80\u7684MCU \uff08z80\uff0cz180\uff0cgbz80\uff0cRabbit 2000\/3000\uff0cRabbit 3000A\uff0cTLCS-90\uff09\uff0cPadauk\uff08pdk14\uff0cpdk15\uff09\u548c STMicroelectronics STM8\u3002<br \/>\u6b63\u5728\u5f00\u5c55\u652f\u6301 Padauk\uff08pdk13\uff09\uff0cMicrochip PIC16\u548cPIC18 \u76ee\u6807\u7684\u5de5\u4f5c\u3002\u5b83\u53ef\u4ee5\u91cd\u65b0\u5b9a\u4f4d\u5230\u5176\u4ed6\u5fae\u5904\u7406\u5668\u3002<\/p>\n<ul>\n<li>SDCC-\u5c0f\u578b\u8bbe\u5907C\u7f16\u8bd1\u5668 \u4e0b\u8f7d\u7f51\u5740: <a href=\"http:\/\/sdcc.sourceforge.net\">http:\/\/sdcc.sourceforge.net<\/a><\/li>\n<li>\u63a8\u8350\u5b89\u88c5\u76ee\u5f55  C:sdcc<\/li>\n<li>\n<p>CodeBlocks\u7f16\u8bd1\u5668\u8bbe\u7f6e\uff0c\u9009\u62e9 SDCC Compiler<\/p>\n<pre><code>\u7f16\u8bd1\u5668\u76ee\u5f55\u586b            C:sdcc\n\u641c\u7d22\u76ee\u5f55-\u7f16\u8bd1\u5668\u5934\u6587\u4ef6   C:sdccinclude\n\u641c\u7d22\u76ee\u5f55-\u7f16\u8bd1\u5668\u5e93\u6587\u4ef6   C:sdcclib\n\n# CodeBlocks \u65b0\u5efa\u9879\u76ee\uff0c\u9009 MCS51 Project\uff0c\u9ed8\u8ba4\u9009\u62e9 SDCC Compiler\uff0c\u6a21\u7248\u4f1a\u81ea\u52a8\u6dfb\u52a0 \u8f6c\u6362C51\u4f7f\u7528HEX\u6587\u4ef6 \u7684\u547d\u4ee4\ncmd \/c \"packihx &lt;$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).ihx &gt;$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).hex\"\n<\/code><\/pre>\n<\/li>\n<\/ul>\n<hr \/>\n<h3>1. LED\u95ea\u70c1\u5b9e\u9a8c \u548c \u8dd1\u9a6c\u706f <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/1-led\">\u6e90\u7801<\/a><\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/hongwenjun\/stc89c52\/master\/img\/1-led.webp\" alt=\"\" title=\"\"><\/p>\n<h3>2. \u4f7f\u7528\u8702\u9e23\u5668\u6f14\u594f\u97f3\u4e50 <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/2-beep_music\">\u6e90\u7801<\/a><\/h3>\n<pre><code class=\"lang-c\">\/\/ \u97f3\u4e50\u64ad\u653e\u5668 :  \u6325\u7740\u7fc5\u8180\u7684\u5973\u5b69  \u540c\u4e00\u9996\u6b4c  \u4e24\u53ea\u8774\u8776\nvoid main()\n{\n    InitialSound();\n    while (1) {\n        keypros();\n\n        \/\/ K1 \u6309\u952e\u70b9\u6b4c   \u4e24\u53ea\u8774\u8776\n        if (key_id == 1) {\n            Play(Music_Two, 0, 3, 360);\n            Delay1ms(500);\n\n            key_id = 0;\n        }\n        \/\/ K2 \u6309\u952e\u70b9\u6b4c   \u6325\u7740\u7fc5\u8180\u7684\u5973\u5b69\n        \/\/ K3 \u6309\u952e\u70b9\u6b4c   \u540c\u4e00\u9996\u6b4c\n        \/\/ K4  beep \u58f0\u97f3\n    }\n}<\/code><\/pre>\n<h3>3. \u52a8\u6001\u6570\u7801\u7ba1\u663e\u793a <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/3-led_segment_displays\">\u6e90\u7801<\/a>  :gift: <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/src\/str_7segment\/\">7\u6bb526\u5b57\u6bcd \u663e\u793a Helloworld<\/a><\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/hongwenjun\/stc89c52\/master\/img\/hello_world.webp\" alt=\"\" title=\"\"><\/p>\n<pre><code class=\"lang-c\">sbit LSA = P2 ^ 2;\nsbit LSB = P2 ^ 3;\nsbit LSC = P2 ^ 4;  \/\/\u63a7\u523638\u8bd1\u7801\u5668\u7684Y0\u8f93\u51fa\u4f4e\u7535\u5e73\n\nu8 code smgduan[] = {\n    0x3f, 0x06, 0x5b, 0x4f, 0x66,   \/\/ 0 1 2 3 4\n    0x6d, 0x7d, 0x07, 0x7f, 0x6f,   \/\/ 5 6 7 8 9\n    0x77, 0x7c, 0x39, 0x5e, 0x79,   \/\/ A B C D E\n    0x71, 0x00                      \/\/ F NULL\n};<\/code><\/pre>\n<ul>\n<li>\u6587\u4ef6: <em> 7\u6bb5\u6570\u7801\u7ba1-26\u5b57\u6bcd\u8868.xls <\/em> \u7528\u6765\u6269\u5c55\u81ea\u5b9a\u4e49\u5b57\u6bcd\u548c\u7b26\u53f7<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/hongwenjun\/stc89c52\/master\/img\/str-7segment.png\" alt=\"\" title=\"\"><\/p>\n<h3>4. \u77e9\u9635\u6309\u952e\u5b9e\u9a8c <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/4-matrix_key\">\u6e90\u7801<\/a><\/h3>\n<pre><code class=\"lang-c\">void KeyDown(void)\n{\n  char a=0;\n  GPIO_KEY=0x0f;\n  if(GPIO_KEY!=0x0f)\/\/\u8bfb\u53d6\u6309\u952e\u662f\u5426\u6309\u4e0b\n  {\n    delay(1000);\/\/\u5ef6\u65f610ms\u8fdb\u884c\u6d88\u6296\n    if(GPIO_KEY!=0x0f)\/\/\u518d\u6b21\u68c0\u6d4b\u952e\u76d8\u662f\u5426\u6309\u4e0b\n    {\n      \/\/\u6d4b\u8bd5\u5217\n      GPIO_KEY=0X0F;\n      switch(GPIO_KEY)\n      {\n          case(0X07):    KeyValue=0;break;\n          case(0X0b):    KeyValue=1;break;\n          case(0X0d): KeyValue=2;break;\n          case(0X0e):    KeyValue=3;break;\n      }\n      \/\/\u6d4b\u8bd5\u884c\n      GPIO_KEY=0XF0;\n      switch(GPIO_KEY)\n      {\n          case(0X70):    KeyValue=KeyValue;break;\n          case(0Xb0):    KeyValue=KeyValue+4;break;\n          case(0Xd0): KeyValue=KeyValue+8;break;\n          case(0Xe0):    KeyValue=KeyValue+12;break;\n      }\n      while((a&lt;50)&amp;&amp;(GPIO_KEY!=0xf0))     \/\/\u68c0\u6d4b\u6309\u952e\u677e\u624b\u68c0\u6d4b\n      {\n          delay(1000);\n          a++;\n      }\n    }\n  }\n}\n<\/code><\/pre>\n<h3>5. 8*8LED\u70b9\u9635-\u663e\u793a\u6587\u5b57\u5b9e\u9a8c <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/5-matrix_8x8LED\">\u6e90\u7801<\/a><\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/hongwenjun\/stc89c52\/master\/img\/8x8led_hong.jpg\" alt=\"\" title=\"\"><\/p>\n<pre><code class=\"lang-c\">void Hc595SendByte(u8 dat)     \/\/ \u51fd\u6570\u541174HC595\u53d1\u9001\u4e00\u4e2a\u5b57\u8282\u7684\u6570\u636e\n{\n    u8 a;\n    SRCLK = 0;\n    RCLK = 0;\n    for (a = 0; a &lt; 8; a++) {\n        SER = dat &gt;&gt; 7;  \/\/ \u83b7\u53d6\u6700\u9ad8\u4f4d  0xA3 :  1010 0011  \u7b49\u4e8e 1\n        dat &lt;&lt;= 1;      \/\/  \u6570\u636e\u79fb\u4f4d\uff0c\u79fb\u9664\u6700\u9ad8\u4f4d1\u88650  0100 0110\n\n        SRCLK = 1;    \/\/ \u5347\u6cbf\u65f6\u6570\u636e\u5bc4\u5b58\u5668\u7684\u6570\u636e\u79fb\u4f4d\n        _nop_();\n        _nop_();      \/\/ \u5ef6\u65f6\n        SRCLK = 0;    \/\/ \u4e0b\u964d\u6cbf\u79fb\u4f4d\u5bc4\u5b58\u5668\u6570\u636e\u4e0d\u53d8\n    }\n\n    RCLK = 1;   \/\/ \u4e0a\u5347\u6cbf\u65f6\u79fb\u4f4d\u5bc4\u5b58\u5668\u7684\u6570\u636e\u8fdb\u5165\u6570\u636e\u5b58\u50a8\u5bc4\u5b58\u5668\n    _nop_();\n    _nop_();    \/\/ \u5ef6\u65f6\n    RCLK = 0;   \/\/ \u4e0b\u964d\u6cbf\u65f6\u5b58\u50a8\u5bc4\u5b58\u5668\u6570\u636e\u4e0d\u53d8\n}\n<\/code><\/pre>\n<h3>6. \u5b9a\u65f6\u5668\u548c\u4e2d\u65ad <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/6-timer\">\u6e90\u7801<\/a><\/h3>\n<pre><code class=\"lang-c\">\/\/ \u4e2d\u65ad\u6cd5\u4f7f\u7528\u5b9a\u65f6\u5668\nvoid Timer0Init(void)       \/\/2\u6beb\u79d2@12.000MHz\n{\n  EA = 1 ; \/\/ \u4f7f\u80fd\u603b\u4e2d\u65ad\n  TMOD &amp;= 0xFC;       \/\/\u8bbe\u7f6e\u5b9a\u65f6\u5668\u6a21\u5f0f\n  TMOD |= 0x01;\n  TH0 = (655536 - 2000) \/ 256;  \/\/\u5b9a\u65f6 2ms\n  TL0 = (655536 - 2000) % 256;\n  ET0 = 1;       \/\/  \u6253\u5f00\u5b9a\u65f6\u56680\n  TR0 = 1;        \/\/\u5b9a\u65f6\u56680\u5f00\u59cb\u8ba1\u65f6\n}\n\nvoid inter_timer0() interrupt 1\n{\n  static unsigned int cnt;\n  TH0 = (655536 - 2000) \/ 256;\n  TL0 = (655536 - 2000) % 256;\n  cnt++;\n  if (cnt &gt;= 1000) {   \/\/ 2ms \u00d7 1000  = 2\u79d2\u89e6\u53d1\u4e00\u6b21\n      cnt = 0;\n      P2 = ~P2;\n\n  }\n}<\/code><\/pre>\n<h3>7. \u6309\u952e\u63a7\u5236\u5916\u90e8\u4e2d\u65ad <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/7-external_interrupt\">\u6e90\u7801<\/a><\/h3>\n<pre><code class=\"lang-c\">#include &lt;reg51.h&gt;\n\/\/ K3 \u72ec\u7acb\u6309\u952e \u89e6\u53d1\u5916\u90e8\u4e2d\u65ad INT0\n\/\/External interrupt0 service routine \/\/\u5916\u90e8\u4e2d\u65ad0\u670d\u52a1\u7a0b\u5e8f\nvoid exint0() interrupt 0           \/\/(location at 0003H)\n{\n    P2++;      \/\/ LED\u7ec4\u706f\u5728 P2 I\/O \u7aef\u53e3\n}\n\nvoid main()\n{\n    IT0 = 1;    \/\/set INT0 int type  \/\/\u8bbe\u7f6eINT0 int\u7c7b\u578b(1:\u4e0b\u964d 0:\u4f4e\u7ea7\u522b)\n    EX0 = 1;    \/\/enable INT0 interrupt  \/\/\u542f\u7528INT0\u4e2d\u65ad\n    EA = 1;     \/\/open global interrupt switch  \/\/\u6253\u5f00\u5168\u5c40\u4e2d\u65ad\u5f00\u5173\n\n    while (1);\n}<\/code><\/pre>\n<h3>8. \u521d\u8bc6LCD1602\u6db2\u6676\u6a21\u5757 <a href=\"https:\/\/github.com\/hongwenjun\/stc89c52\/tree\/master\/8-lcd1602_display\">\u6e90\u7801<\/a><\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/raw.githubusercontent.com\/hongwenjun\/stc89c52\/master\/img\/lcd1602.jpg\" alt=\"\" title=\"\"><\/p>\n<pre><code class=\"lang-c\">#define LcdDB  P0       \/\/ D0-D7 \u4e3a8\u4f4d\u53cc\u5411\u6570\u636e\u7ebf\uff0c\u4f20\u8f93\u6570\u636e\u6216\u547d\u4ee4\nsbit  LcdRS = P2 ^ 6;   \/\/ RS \u4e3a\u5bc4\u5b58\u5668\u9009\u62e9\uff0c\u9ad8\u7535\u5e73\u65f6\u9009\u62e9\u6570\u636e\u5bc4\u5b58\u5668\uff0c\u4f4e\u7535\u5e73\u65f6\u9009\u62e9\u6307\u4ee4\u5bc4\u5b58\nsbit  LcdRW = P2 ^ 5;   \/\/ R\/W \u4e3a\u8bfb\u5199\u4fe1\u53f7\u7ebf, \u9ad8\u7535\u5e73\u65f6\u8fdb\u884c\u8bfb\u64cd\u4f5c\uff0c\u4f4e\u7535\u5e73\u65f6\u8fdb\u884c\u5199\u64cd\u4f5c\nsbit  LcdEN = P2 ^ 7;   \/\/ E \u4e3a\u4f7f\u80fd\u7aef\uff0c\u5f53\u9ad8\u7535\u5e73\u8df3\u53d8\u6210\u4f4e\u7535\u5e73\u65f6\uff0c\u6db2\u6676\u6a21\u5757\u6267\u884c\u547d\u4ee4\n\nvoid Lcd_Init();            \/\/ LCD1602\u521d\u59cb\u5316\u51fd\u6570\nvoid LcdWrDat(uchar dat);   \/\/ LCD1602\u51998bit\u6570\u636e\u51fd\u6570\nvoid LcdWrCmd(uchar cmd);   \/\/ LCD1602\u5199\u51658bit\u547d\u4ee4\u51fd\u6570\nvoid LcdBusy();             \/\/ \u68c0\u6d4b\u5fd9\u4fe1\u53f7\uff0c\u7b49\u5f85\nvoid Lcd_Show(uchar x, uchar y); \/\/ \u663e\u793a\u5750\u6807: x\u4e3a\u6a2a\u5750\u6807;  y\u4e3a\u7ad6\u5750\u6807 y=0; \u7b2c\u4e00\u884c y=1; \u7b2c\u4e8c\u884c\n\nvoid Lcd_Init()\n{\n    LcdWrCmd(0x38); \/\/ \u5199\u6307\u4ee438H: \u663e\u793a\u6a21\u5f0f\u8bbe\u7f6e\n    LcdWrCmd(0x0C); \/\/ \u5199\u6307\u4ee40CH: \u5f00\u663e\u793a\uff0c\u4e0d\u663e\u793a\u5149\u6807\n    LcdWrCmd(0x06); \/\/ \u5199\u6307\u4ee406H: \u5149\u6807\u79fb\u52a8\u8bbe\u7f6e\n    LcdWrCmd(0x01); \/\/ \u5199\u6307\u4ee401H: \u663e\u793a\u6e05\u5c4f\n                    \/\/ \u5199\u6307\u4ee408H \u663e\u793a\u5173\u95ed\n}\n\nvoid LcdWrDat(uchar dat)\n{\n    LcdBusy();   \/\/ \u68c0\u6d4b\u5fd9\u4fe1\u53f7\n    LcdRS = 1;   \/\/ \u9ad8\u7535\u5e73\u65f6\u9009\u62e9\u6570\u636e\u5bc4\u5b58\u5668\n    LcdRW = 0;   \/\/ \u4f4e\u7535\u5e73\u65f6\u8fdb\u884c\u5199\u64cd\u4f5c\n    LcdDB = dat; \/\/ \u5199\u6570\u636e\n    LcdEN = 1;   \/\/ \u7535\u5e73\u4e0b\u964d\u6cbf\uff0c\u4f7f\u80fd\n    LcdEN = 0;\n}\n<\/code><\/pre>\n<hr \/>\n<h3>:100: HC6800-ES V2.0\u5149\u76d8\u8d44\u6599(180515)<\/h3>\n<pre><code>V2.0\u94fe\u63a5: \u94fe\u63a5\uff1ahttps:\/\/pan.baidu.com\/s\/1nJyHVv4effJ5y5ffUJFMoQ\n\u63d0\u53d6\u7801\uff1aquux<\/code><\/pre>\n<h3>\u767e\u5ea6\u76d8\u4e0b\u8f7d\u5f88\u6162\u600e\u4e48\u529e?  <a href=\"https:\/\/pandownload.com\/\">https:\/\/pandownload.com\/<\/a><\/h3>\n<ul>\n<li>\u4f7f\u7528\u7b2c\u4e09\u65b9\u5ba2\u6237\u7aef \u624b\u673a\u626b\u63cf\u767b\u9646\uff0c\u53ef\u4ee5\u5168\u901f\u4e0b\u8f7d\uff0c\u6211\u768420M\u7f51\u7edc\uff0c\u53ef\u4ee5\u6ee1\u901f2.6M\/s\u4e0b\u8f7d<\/li>\n<\/ul>\n<h3>:+1: \u666e\u4e2d51\u5355\u7247\u673a\u5f00\u53d1\u7248 stc89c52\u82af\u7247\u5b9e\u9a8c\u677fDIY\u5957\u4ef6<\/h3>\n<p><img decoding=\"async\" src=\"https:\/\/img.alicdn.com\/imgextra\/i2\/222939413\/TB2xOgJd67nBKNjSZLeXXbxCFXa_!!222939413.jpg\" alt=\"\" title=\"\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>stc89c52 :+1: \u6211\u7684\u5f81\u9014\u662f\u661f\u8fb0\u5927\u6d77\uff01 \u57fa\u7840\u5b9e\u9a8c\u4f8b\u7a0b\u66f4\u65b0 :gift: Keil C51  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,11],"tags":[31,29],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-soft","category-mcu","tag-cpp","tag-29"],"_links":{"self":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/comments?post=132"}],"version-history":[{"count":0,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"wp:attachment":[{"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lyvba.com\/index.php\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}