{"id":87073,"date":"2020-04-27T03:28:58","date_gmt":"2020-04-26T19:28:58","guid":{"rendered":"http:\/\/4563.org\/?p=87073"},"modified":"2020-05-17T05:10:09","modified_gmt":"2020-05-16T21:10:09","slug":"%e8%87%aa%e5%b7%b1%e5%86%99%e7%9a%84-%e5%8d%95%e7%89%87%e6%9c%ba-arduino-%e5%bc%80%e5%8f%91%e7%94%a8%e7%9a%84%e5%9b%be%e7%89%87%e5%8f%96%e6%a8%a1%e5%b7%a5%e5%85%b7","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=87073","title":{"rendered":"\u81ea\u5df1\u5199\u7684 \u5355\u7247\u673a\/Arduino \u5f00\u53d1\u7528\u7684\u56fe\u7247\u53d6\u6a21\u5de5\u5177"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u81ea\u5df1\u5199\u7684 \u5355\u7247\u673a\/Arduino \u5f00\u53d1\u7528\u7684\u56fe\u7247\u53d6\u6a21\u5de5\u5177               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : coloz <\/span>  <span><i><\/i> 10<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u4ee5\u524d\u53d1\u8fc7\uff0c\u6700\u8fd1\u53c8\u66f4\u65b0\u4e86\u4e0b\uff0c\u65b0\u589e\u6296\u52a8\u53d6\u6a21\u529f\u80fd\u3002\u5e94\u8be5\u6bd4\u7c7b\u4f3c\u529f\u80fd\u7684\u8f6f\u4ef6\u66f4\u597d\u4e86<br \/> \u6b22\u8fce\u559c\u6b22\u786c\u4ef6\u5f00\u53d1\u7684\u4f19\u4f34\u4f7f\u7528\uff0c\u597d\u7528\u5c31 star \u4e00\u4e0b\u5427<\/p>\n<h1>convert image to C bitmap array<\/h1>\n<p> <\/p>\n<p>\u4e00\u4e2a\u7eaf\u524d\u7aef\u7684\u56fe\u7247\u53d6\u6a21\u7a0b\u5e8f\uff0c\u53ef\u5c06\u56fe\u7247\u8f6c\u6362\u4e3a C \u8bed\u8a00\u6570\u7ec4\u5f62\u5f0f\uff0c\u7528\u4e8e\u5355\u7247\u673a \/arduino \u663e\u793a\u56fe\u7247\u3002<\/p>\n<h2>\u9879\u76ee\u5730\u5740<\/h2>\n<p>https:\/\/github.com\/coloz\/image-to-bitmap-array<\/p>\n<h2>\u6f14\u793a\u5730\u5740<\/h2>\n<p>http:\/\/tools.clz.me\/<\/p>\n<h2>\u6296\u52a8\u53d6\u6a21<\/h2>\n<p>\u5229\u7528 Floyd-Steinberg-Dither \u8fdb\u884c\u53d6\u6a21\uff0c\u53ef\u4ee5\u5c06\u7070\u5ea6\u8f6c\u6362\u6210\u70b9\u5bc6\u5ea6\u3002<\/p>\n<p>\u539f\u56fe \u300b \u9600\u503c\u53d6\u6a21 \u300b \u6296\u52a8\u53d6\u6a21<br \/> <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/b1.pngrawtrue.png\" alt=\"\u81ea\u5df1\u5199\u7684 \u5355\u7247\u673a\/Arduino \u5f00\u53d1\u7528\u7684\u56fe\u7247\u53d6\u6a21\u5de5\u5177\" \/> \u300b <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/b2.pngrawtrue.png\" alt=\"\u81ea\u5df1\u5199\u7684 \u5355\u7247\u673a\/Arduino \u5f00\u53d1\u7528\u7684\u56fe\u7247\u53d6\u6a21\u5de5\u5177\" \/> \u300b <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/b3.pngrawtrue.png\" alt=\"\u81ea\u5df1\u5199\u7684 \u5355\u7247\u673a\/Arduino \u5f00\u53d1\u7528\u7684\u56fe\u7247\u53d6\u6a21\u5de5\u5177\" \/><br \/> <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/20200516_5ec0569a1e48f.png\" alt=\"\u81ea\u5df1\u5199\u7684 \u5355\u7247\u673a\/Arduino \u5f00\u53d1\u7528\u7684\u56fe\u7247\u53d6\u6a21\u5de5\u5177\" \/> \u300b <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/20200516_5ec0569d913d3.png\" alt=\"\u81ea\u5df1\u5199\u7684 \u5355\u7247\u673a\/Arduino \u5f00\u53d1\u7528\u7684\u56fe\u7247\u53d6\u6a21\u5de5\u5177\" \/> \u300b <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/05\/20200516_5ec056a15b7f2.png\" alt=\"\u81ea\u5df1\u5199\u7684 \u5355\u7247\u673a\/Arduino \u5f00\u53d1\u7528\u7684\u56fe\u7247\u53d6\u6a21\u5de5\u5177\" \/><\/p>\n<p>\u6296\u52a8\u53d6\u6a21\u4ee3\u7801\u6765\u81ea\u9879\u76eecanvas-floyd-steinberg-dither<\/p>\n<h2>\u5728\u7ebf\u4e5e\u8ba8<\/h2>\n<p>\u89c9\u5f97\u4e0d\u9519\uff0c\u5c31\u8bf7 star \u4e00\u4e0b<\/p>\n<h2>\u66f4\u65b0<\/h2>\n<p>2020.4.28 \u8fd9\u4e2a\u5c0f\u8f6f\u4ef6\u610f\u5916\u53d7\u6b22\u8fce\uff0c\u90a3\u6211\u518d\u66f4\u65b0\u4e0b\u5427<br \/> 2020.5.1 \u65b0\u589e\u6296\u52a8\u53d6\u6a21\u529f\u80fd<\/p>\n<h2>\u5176\u4ed6<\/h2>\n<p>\u63a8\u8350\u4f7f\u7528 u8g2 \u914d\u5408\u672c\u8f6f\u4ef6\u8fdb\u884c\u56fe\u7247\u663e\u793a<br \/> \u57fa\u4e8e Arduino \u7684\u6f14\u793a<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>3<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1362359\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : coloz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5355\u7eaf\u6765\u6c42 star \u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1362360\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sjqlwy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5df2\u7ecf star                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1362361\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : sjqlwy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7136\u540e\u53d1\u73b0\u4e4b\u524d star \u8fc7\uff0c\u652f\u6301                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u81ea\u5df1\u5199\u7684 \u5355\u7247\u673a\/Arduino &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/87073"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87073"}],"version-history":[{"count":1,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/87073\/revisions"}],"predecessor-version":[{"id":87077,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/87073\/revisions\/87077"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87073"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}