{"id":241,"date":"2022-03-08T16:36:11","date_gmt":"2022-03-08T08:36:11","guid":{"rendered":"http:\/\/150.158.163.220\/?p=241"},"modified":"2022-12-19T20:59:07","modified_gmt":"2022-12-19T12:59:07","slug":"%e5%85%b3%e4%ba%8e%e6%8c%89%e9%94%ae%e5%a4%84%e7%90%86%e7%9a%84%e7%a0%b4%e4%ba%8b","status":"publish","type":"post","link":"https:\/\/zhewana.cn\/?p=241","title":{"rendered":"\u5173\u4e8e\u6309\u952e\u5904\u7406\u7684\u7834\u4e8b"},"content":{"rendered":"<h2>\u7b80\u4ecb<\/h2>\n<p>LED\u3001\u6309\u952e\u7b49\u8fd9\u4e9b\u4e1c\u897f\u662f\u641e\u5d4c\u5165\u5f0f\u7684\u6bcf\u4e2a\u4eba\u90fd\u4e00\u5b9a\u4f1a\u6253\u4ea4\u9053\u7684\u4e1c\u897f\uff0c\u7b14\u8005\u5f53\u7136\u4e5f\u4e0d\u4f8b\u5916\u3002LED\u53ef\u4ee5\u4e0a\u7535\u5373\u7528\uff0c\u4f46\u662f\u6309\u952e\u76f8\u5bf9\u800c\u8a00\u5c31\u8981\u590d\u6742\u4e00\u4e9b\u4e86\u3002<\/p>\n<p>\u4f17\u6240\u5468\u77e5\uff0c\u6309\u952e\u662f\u6709<strong>\u6296\u52a8<\/strong>\u7684\uff0c\u6240\u4ee5\u5728\u4f7f\u7528\u8fc7\u7a0b\u4e2d\u4e0d\u5f97\u4e0d\u8fdb\u884c\u6d88\u6296\u64cd\u4f5c\uff0c\u5982\uff1a\u52a0\u7535\u5bb9\u8fdb\u884c<strong>\u786c\u4ef6\u6d88\u6296<\/strong>\u4ee5\u53ca\u5ef6\u65f6\u8fdb\u884c<strong>\u8f6f\u4ef6\u6d88\u6296<\/strong>\u7b49\u3002<\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/zhewana.cn\/wp-content\/uploads\/2022\/03\/2707392082.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/zhewana.cn\/wp-content\/uploads\/2022\/03\/2707392082.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\u6309\u952e\u6296\u52a8\" \/><\/div><\/p>\n<p>\u4f46\u662f\uff0c\u786c\u4ef6\u6d88\u6296\u8fd9\u4ef6\u4e8b\u4e0d\u5f97\u4e0d\u5728\u753bPCB\u65f6\u8d39\u5fc3\u8d39\u529b\uff08\u867d\u7136\u4e5f\u6ca1\u6709\u5f88\u8d39\u5fc3\uff09\uff0c\u800c\u5ef6\u65f6\u7684\u6d88\u6296\u65b9\u5f0f\u8ba9MCU\u6709\u4e86\u4e00\u6bb5<strong>\u65e0\u610f\u4e49\u7684\u7a7a\u7b49\u65f6\u95f4<\/strong>\uff0c\u800c\u4e14\u51fa\u4e8e\u6d88\u6296\u7684\u9700\u8981\uff0c\u8fd9\u6bb5\u65f6\u95f4\u5f80\u5f80\u957f\u8fbe20ms\u5de6\u53f3\u3002\u6b64\u5916\uff0c\u5982\u679c\u60f3\u505a\u4e00\u4e9b\u5c0f\u4f53\u79ef\u4f46\u662f\u529f\u80fd\u8f83\u591a\u7684\u9879\u76ee\u7684\u8bdd\uff0c\u6309\u952e\u4ec5\u4ec5\u6709\u5355\u51fb\u7684\u529f\u80fd\u5f88\u53ef\u80fd\u662f\u4e0d\u591f\u7684\uff0c\u8003\u8651\u5230\u4e0a\u8ff0\u539f\u56e0\uff08\u5176\u5b9e\u5c31\u662f\u95f2\u7684\uff09\uff0c\u7b14\u8005\u81ea\u884c\u5c01\u88c5\u4e86\u4e00\u4e2a\u6309\u952e\u68c0\u6d4b\u5c01\u88c5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u6309\u952e\u7684<strong>\u5355\u51fb<\/strong>\u3001<strong>\u8fde\u51fb<\/strong>\u4ee5\u53ca<strong>\u957f\u6309\u68c0\u6d4b<\/strong>\u3002<\/p>\n<h2>\u4f7f\u7528\u8bf4\u660e<\/h2>\n<p>\u8981\u4f7f\u7528<a href=\"https:\/\/github.com\/Zhewana\/CommonKey\">CommonKey<\/a>\u6309\u952e\u68c0\u6d4b\u5c01\u88c5\uff0c\u4f60\u9700\u8981\u5728\u4f60\u7684\u5de5\u7a0b\u4e2d\u505a\u51fa\u5982\u4e0b\u5904\u7406\uff1a<\/p>\n<ul>\n<li>\u5c06\u6587\u4ef6\u52a0\u5165\u4f60\u7684\u5de5\u7a0b\u8def\u5f84\u4e2d\uff0c\u6309\u9700\u4fee\u6539\u65f6\u95f4\u9608\u503c\u5b8f\uff1a<\/li>\n<\/ul>\n<blockquote>\n<p><code>COMKEY_ClickThreshold<\/code>\uff1a\u5355\u51fb\u65f6\u95f4\u9608\u503c\uff0c\u77ed\u4e8e\u6b64\u65f6\u95f4\u89c6\u4e3a\u6296\u52a8<\/p>\n<p><code>COMKEY_HoldThreshold<\/code>\uff1a\u957f\u6309\u65f6\u95f4\u9608\u503c\uff0c\u957f\u4e8e\u6b64\u65f6\u95f4\u89c6\u4e3a\u957f\u6309<\/p>\n<p><code>COMKEY_HoldTriggerThreshold<\/code>\uff1a\u957f\u6309\u89e6\u53d1\u9608\u503c\uff0c\u957f\u6309\u65f6\u6bcf\u9694\u8be5\u65f6\u95f4\u89e6\u53d1\u4e00\u6b21\u6309\u952e<\/p>\n<p><code>COMKEY_IntervalVal<\/code>\uff1a\u95f4\u9694\u65f6\u95f4\u9608\u503c\uff0c\u77ed\u4e8e\u6b64\u65f6\u95f4\u89c6\u4e3a\u8fde\u6309<\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>\u4e3a\u60a8\u7684\u6bcf\u4e2a\u6309\u952e\u5b9a\u4e49\u4e00\u4e2a<code>comkey_t<\/code>\u53e5\u67c4<\/p>\n<\/li>\n<li>\n<p>\u4e3a<strong>\u6bcf\u4e2a\u6309\u952e<\/strong>\u8c03\u7528<code>ComKey_Init<\/code>\u521d\u59cb\u5316\u51fd\u6570\uff0c\u53c2\u6570\u4e3a<strong>\u6309\u952e\u53e5\u67c4<\/strong>\u548c<strong>\u68c0\u6d4b\u65f6\u95f4<\/strong><\/p>\n<\/li>\n<li>\n<p>\u6539\u5199<code>ComKey_SyncValue<\/code>\u51fd\u6570<\/p>\n<\/li>\n<li>\n<p>\u6839\u636e\u9700\u8981\u91cd\u5199\u56de\u8c03\u51fd\u6570\uff1a<\/p>\n<\/li>\n<\/ul>\n<blockquote>\n<p><code>ComKey_LongHoldCallback<\/code>\uff1a<strong>\u957f\u6309\u56de\u8c03\u51fd\u6570<\/strong>\uff0c\u53c2\u6570\u4e3a<strong>\u6309\u952e\u53e5\u67c4<\/strong><\/p>\n<p><code>ComKey_HoldTriggerCallback<\/code>\uff1a<strong>\u957f\u6309\u89e6\u53d1\u56de\u8c03\u51fd\u6570<\/strong>\uff0c\u53c2\u6570\u4e3a<strong>\u6309\u952e\u53e5\u67c4<\/strong><\/p>\n<p><code>ComKey_MultipleClickCallback<\/code>\uff1a<strong>\u8fde\u70b9\u56de\u8c03\u51fd\u6570<\/strong>\uff0c\u53c2\u6570\u4e3a<strong>\u6309\u952e\u53e5\u67c4<\/strong><\/p>\n<p><code>ComKey_KeyReleaseCallback<\/code>\uff1a<strong>\u6309\u952e\u677e\u5f00\u56de\u8c03\u51fd\u6570<\/strong>\uff0c\u53c2\u6570\u4e3a<strong>\u6309\u952e\u53e5\u67c4<\/strong><\/p>\n<p><code>ComKey_KeyPressCallback<\/code>\uff1a<strong>\u6309\u952e\u6309\u4e0b\u56de\u8c03\u51fd\u6570<\/strong>\uff0c\u53c2\u6570\u4e3a<strong>\u6309\u952e\u53e5\u67c4<\/strong><\/p>\n<\/blockquote>\n<ul>\n<li>\n<p>\u4ee5\u4e00\u4e2a\u56fa\u5b9a\u7684\u95f4\u9694\u8c03\u7528<code>ComKey_Handler<\/code>\u51fd\u6570<\/p>\n<\/li>\n<li>\n<p>\u6d4b\u8bd5\u5b9e\u9645\u6548\u679c<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h2>\u4e00\u4e9b\u8bf4\u660e\u4e0e\u793a\u4f8b<\/h2>\n<h3>\u63a5\u53e3\u51fd\u6570\u7684\u79fb\u690d<\/h3>\n<p>\u5e93\u5185\u90e8\u4e0d\u63d0\u4f9b\u5bf9\u6309\u952e\u89e6\u53d1\u7535\u5e73\u7684\u68c0\u6d4b\uff0c\u79fb\u690d\u65f6<strong>\u8bf7\u52a1\u5fc5<\/strong>\u4fdd\u8bc1\u6309\u952e\u89e6\u53d1\u65f6\u4f20\u9012\u5230<code>key-&gt;val<\/code>\u7684\u503c\u4e3a1\uff1b<\/p>\n<p>\u5982\u679c\u60a8\u6709\u591a\u4e2a\u6309\u952e\uff0c\u8bf7\u901a\u8fc7<strong>\u60a8\u81ea\u5df1\u5b9a\u4e49\u7684\u6309\u952e\u53e5\u67c4<\/strong>\u6765\u533a\u5206\u60a8\u7684\u89e6\u53d1\u6309\u952e\uff1b<\/p>\n<p>\u6b64\u5916<strong>\u8bf7\u4e0d\u8981\u5220\u9664<\/strong>\u6700\u540e\u4e00\u53e5\u4ee3\u7801\uff0c\u8fd9\u5c06\u5f71\u54cd\u7a0b\u5e8f\u7684\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n<pre><code class=\"language-C\">void ComKey_SyncValue(comkey_t *key) {\n    \/\/if your key was pressed,&quot;key-&gt;val&quot; should be 1.\n    if (key == &amp;key0) {\n        key-&gt;val = !HAL_GPIO_ReadPin(GPIOA, GPIO_PIN_0);\n    }\n    if (key == &amp;key1) {\n        key-&gt;val = !HAL_GPIO_ReadPin(GPIOA, GPIO_PIN_1);\n    }\n\n    \/\/IMPORTANT\uff01\uff01\uff01DO NOT MODIFIED!!!\n    key-&gt;preVal = key-&gt;val;\n}<\/code><\/pre>\n<h3>\u957f\u6309\u56de\u8c03\u51fd\u6570<\/h3>\n<p>\u5982\u679c\u60a8\u6709\u591a\u4e2a\u6309\u952e\uff0c\u8bf7\u901a\u8fc7<strong>\u60a8\u81ea\u5df1\u5b9a\u4e49\u7684\u6309\u952e\u53e5\u67c4<\/strong>\u6765\u533a\u5206\u60a8\u7684\u89e6\u53d1\u6309\u952e\uff1b<\/p>\n<p>\u6b64\u5916\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6309\u952e\u53e5\u67c4\u7684<code>holdTime<\/code>\u6210\u5458\u6765\u83b7\u53d6<strong>\u5f53\u6b21\u957f\u6309\u7684\u6301\u7eed\u65f6\u95f4<\/strong>\uff08ms\uff09\u4f9b\u60a8\u4f7f\u7528.<\/p>\n<pre><code class=\"language-C\">void ComKey_LongHoldCallback(comkey_t *key) {\n    if (key == &amp;key0)\n        printf(&quot;key0: &quot;);\n    if (key == &amp;key1) {\n        printf(&quot;key1: &quot;);\n    }\n    printf(&quot;hold %ldms\\n&quot;, key-&gt;holdTime);\n}<\/code><\/pre>\n<h3>\u957f\u6309\u89e6\u53d1\u56de\u8c03\u51fd\u6570<\/h3>\n<p>\u5982\u679c\u60a8\u6709\u591a\u4e2a\u6309\u952e\uff0c\u8bf7\u901a\u8fc7<strong>\u60a8\u81ea\u5df1\u5b9a\u4e49\u7684\u6309\u952e\u53e5\u67c4<\/strong>\u6765\u533a\u5206\u60a8\u7684\u89e6\u53d1\u6309\u952e\uff1b<\/p>\n<p>\u5f53\u60a8\u91c7\u7528\u6309\u952e\u5355\u51fb\u8fdb\u884c\u7c7b\u4f3c\u6570\u636e\u52a0\u51cf\u7684\u4efb\u52a1\u65f6\uff0c\u82e5\u60f3<strong>\u901a\u8fc7\u957f\u6309\u6765\u5b9e\u73b0\u591a\u6b21\u5355\u51fb\u7684\u6548\u679c<\/strong>\uff0c\u8bf7\u4f7f\u7528\u6b64\u56de\u8c03\u51fd\u6570\uff1b<\/p>\n<p>\u8be5\u51fd\u6570\u5c06\u4f1a\u4ee5<code>COMKEY_HoldTriggerThreshold<\/code>\u7684\u95f4\u9694\u88ab\u8c03\u7528\u3002<\/p>\n<pre><code class=\"language-C\">void ComKey_HoldTriggerCallback(comkey_t *key) {\n    if (key == &amp;key0)\n        printf(&quot;key0: HoldTrigger\\n&quot;);\n    if (key == &amp;key1) {\n        printf(&quot;key1: HoldTrigger\\n&quot;);\n    }\n}<\/code><\/pre>\n<h3>\u8fde\u7eed\u70b9\u51fb\u56de\u8c03\u51fd\u6570<\/h3>\n<p>\u5982\u679c\u60a8\u6709\u591a\u4e2a\u6309\u952e\uff0c\u8bf7\u901a\u8fc7<strong>\u60a8\u81ea\u5df1\u5b9a\u4e49\u7684\u6309\u952e\u53e5\u67c4<\/strong>\u6765\u533a\u5206\u60a8\u7684\u89e6\u53d1\u6309\u952e\uff1b<\/p>\n<p>\u5f53\u60a8\u591a\u6b21\u8fde\u7eed\u8fdb\u884c\u70b9\u51fb<strong>\u540e<\/strong>\uff0c\u4f1a\u89e6\u53d1\u8be5\u56de\u8c03\u51fd\u6570\uff0c\u8fde\u7eed\u70b9\u51fb\u95f4\u9694\u65f6\u95f4\u9608\u503c\u53ef\u901a\u8fc7<code>COMKEY_IntervalVal<\/code>\u5b8f\u6765\u8fdb\u884c\u4fee\u6539\uff1b<\/p>\n<p>\u6b64\u5916\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6309\u952e\u53e5\u67c4\u7684<code>clickCnt<\/code>\u6210\u5458\u6765\u83b7\u5f97\u5f53\u6b21<strong>\u8fde\u6309\u7684\u6b21\u6570<\/strong>\u4ee5\u4f9b\u60a8\u4f7f\u7528\u3002<\/p>\n<pre><code class=\"language-C\">void ComKey_MultipleClickCallback(comkey_t *key) {\n    if (key == &amp;key0)\n        printf(&quot;key0: &quot;);\n    if (key == &amp;key1) {\n        printf(&quot;key1: &quot;);\n    }\n    printf(&quot;click: %d\\n&quot;, key-&gt;clickCnt);\n}<\/code><\/pre>\n<h3>\u6309\u952e\u6309\u4e0b\u56de\u8c03\u51fd\u6570<\/h3>\n<p>\u5982\u679c\u60a8\u6709\u591a\u4e2a\u6309\u952e\uff0c\u8bf7\u901a\u8fc7<strong>\u60a8\u81ea\u5df1\u5b9a\u4e49\u7684\u6309\u952e\u53e5\u67c4<\/strong>\u6765\u533a\u5206\u60a8\u7684\u89e6\u53d1\u6309\u952e\uff1b<\/p>\n<p>\u4efb\u4f55\u6309\u952e\u6309\u4e0b\u7684\u4e8b\u4ef6\u90fd\u4f1a\u89e6\u53d1\u8be5\u56de\u8c03\u51fd\u6570\u3002<\/p>\n<pre><code class=\"language-C\">void ComKey_KeyPressCallback(comkey_t *key) {\n    if (key == &amp;key0) {\n        printf(&quot;key0: &quot;);\n    }\n    if (key == &amp;key1) {\n        printf(&quot;key1: &quot;);\n    }\n    printf(&quot;keyPress!\\n&quot;);\n}<\/code><\/pre>\n<h3>\u6309\u952e\u91ca\u653e\u56de\u8c03\u51fd\u6570<\/h3>\n<p>\u5982\u679c\u60a8\u6709\u591a\u4e2a\u6309\u952e\uff0c\u8bf7\u901a\u8fc7<strong>\u60a8\u81ea\u5df1\u5b9a\u4e49\u7684\u6309\u952e\u53e5\u67c4<\/strong>\u6765\u533a\u5206\u60a8\u7684\u89e6\u53d1\u6309\u952e\uff1b<\/p>\n<p>\u6b64\u5916\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u6309\u952e\u53e5\u67c4\u7684<code>state<\/code>\u6210\u5458\u7684\u4e24\u4e2a\u679a\u4e3e\u503c\uff1a<\/p>\n<p><code>LongHold<\/code>\u548c<code>MultiClick<\/code><\/p>\n<p>\u6765\u533a\u5206\u5f53\u6b21\u91ca\u653e\u6309\u952e\u7684\u4e8b\u4ef6\u662f<strong>\u957f\u6309<\/strong>\u8fd8\u662f<strong>\u8fde\u51fb<\/strong>\uff08\u5355\u51fb\uff09\u3002<\/p>\n<pre><code class=\"language-C\">void ComKey_KeyReleaseCallback(comkey_t *key) {\n    if (key == &amp;key0) {\n        printf(&quot;key0: &quot;);\n    }\n    if (key == &amp;key1) {\n        printf(&quot;key1: &quot;);\n    }\n\n    if (key-&gt;state == LongHold) {\n        printf(&quot;LongHold&quot;);\n    } else if (key-&gt;state == MultiClick) {\n        printf(&quot;Click&quot;);\n    }\n    printf(&quot; Release!\\n&quot;);\n}<\/code><\/pre>\n<hr \/>\n<h2>\u5b9e\u73b0\u601d\u8def<\/h2>\n<p>\u601d\u8def\u5176\u5b9e\u5f88\u7b80\u5355\uff0c\u6838\u5fc3\u90e8\u5206\u662f\u4e24\u4e2a\u8ba1\u65f6\u5668\uff1a<strong>\u6309\u4e0b\u8ba1\u65f6\u5668<\/strong>\u548c<strong>\u95f4\u9694\u8ba1\u65f6\u5668<\/strong>\u3002\u901a\u8fc7\u6709\u9650\u72b6\u6001\u673a\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u5bf9\u5404\u4e2a\u529f\u80fd\u7684\u68c0\u6d4b\uff0c\u72b6\u6001\u8f6c\u79fb\u56fe\u5927\u6982\u5982\u4e0b\uff1a<\/p>\n<p><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/zhewana.cn\/wp-content\/uploads\/2022\/03\/3781171879.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" data-original=\"https:\/\/zhewana.cn\/wp-content\/uploads\/2022\/03\/3781171879.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" alt=\"\u6309\u952e\u72b6\u6001\u8f6c\u79fb\" \/><\/div><\/p>\n<p>\u4ec5\u4f5c\u5206\u4eab\uff0c\u6b22\u8fce\u63d0\u51fa\u4f18\u5316\u610f\u89c1\u4ee5\u53ca\u5efa\u8bae\ud83e\udd70<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7b80\u4ecb LED\u3001\u6309\u952e\u7b49\u8fd9\u4e9b\u4e1c\u897f\u662f\u641e\u5d4c\u5165\u5f0f\u7684\u6bcf\u4e2a\u4eba\u90fd\u4e00\u5b9a\u4f1a\u6253\u4ea4\u9053\u7684\u4e1c\u897f\uff0c\u7b14\u8005\u5f53\u7136\u4e5f\u4e0d\u4f8b\u5916\u3002LED\u53ef\u4ee5\u4e0a\u7535\u5373\u7528\uff0c\u4f46\u662f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[31,44],"class_list":["post-241","post","type-post","status-publish","format-standard","hentry","category-embedded","tag-31","tag-44"],"_links":{"self":[{"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/posts\/241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhewana.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=241"}],"version-history":[{"count":2,"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/posts\/241\/revisions"}],"predecessor-version":[{"id":281,"href":"https:\/\/zhewana.cn\/index.php?rest_route=\/wp\/v2\/posts\/241\/revisions\/281"}],"wp:attachment":[{"href":"https:\/\/zhewana.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhewana.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhewana.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}