{"id":1793,"date":"2022-09-19T10:13:34","date_gmt":"2022-09-19T01:13:34","guid":{"rendered":"https:\/\/machiaworx.net\/?p=1793"},"modified":"2022-09-19T10:14:15","modified_gmt":"2022-09-19T01:14:15","slug":"%e3%83%8f%e3%83%bc%e3%83%89%e3%82%b7%e3%83%bc%e3%82%b1%e3%83%b3%e3%82%b5%e9%96%8b%e7%99%ba%e3%80%82%ef%bc%88%e3%81%9d%e3%81%ae%ef%bc%91%ef%bc%93%ef%bc%9a%e6%96%87%e5%ad%97%e5%88%97%e6%8f%8f%e7%94%bb","status":"publish","type":"post","link":"https:\/\/machiaworx.net\/?p=1793","title":{"rendered":"\u30cf\u30fc\u30c9\u30b7\u30fc\u30b1\u30f3\u30b5\u958b\u767a\u3002\uff08\u305d\u306e\uff11\uff13\uff1a\u6587\u5b57\u5217\u63cf\u753b\u3068\u6570\u5024\u306e\u5909\u63db\uff09"},"content":{"rendered":"<h3>\u30b7\u30fc\u30b1\u30f3\u30b5\u4f5c\u308b\u305f\u3081\u306e\u4ed5\u69d8\u306f\u3042\u3089\u304b\u305f\u6c7a\u3081\u305f<\/h3>\n<p>\u4ed5\u69d8\u3068\u63cf\u753b\u60c5\u5831\u3092\u6c7a\u3081\u3066\u3001\u8981\u6c42\u3092\u6e80\u305f\u3059\u305f\u3081\u306b\u5fc5\u8981\u305d\u3046\u306a\u6a5f\u80fd\u3092\u8abf\u3079\u3066\u307e\u3059\u3002<\/p>\n<p>\u30b7\u30fc\u30b1\u30f3\u30b5\u52d5\u4f5c\u306e\u4ed5\u7d44\u307f\u81ea\u4f53\u306f\u3059\u3067\u306b\u8abf\u67fb\u6e08\u307f\u306e\u305f\u3081\u3001\u3053\u3053\u6570\u65e5\u63cf\u753b\u5468\u308a\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307e\u3057\u305f\u3002<\/p>\n<h3>\u6570\u5024\u2192\u6587\u5b57\u5217\u3078\u306e\u5909\u63db\u3092\u884c\u3063\u3066\u304b\u3089\u63cf\u753b\u3059\u308b<\/h3>\n<p>\u6587\u5b57\u5217\u63cf\u753b\u3092\u3059\u308b\u969b\u3001\u6570\u5024\u306b\u3064\u3044\u3066\u306fprint\u95a2\u6570\u3067\u63cf\u753b\u53ef\u80fd\u3060\u304c\u3001<br \/>\n\u6587\u5b57\u5217\u3092\u53cd\u8ee2\u3055\u305b\u305f\u308a\u3059\u308b\u3053\u3068\u3092\u8003\u3048\u308b\u3068\u3001char\u914d\u5217\u304b\u3089\u63cf\u753b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002<br \/>\n\u3088\u3063\u3066\u3001\u6570\u5024\u304b\u3089char\u914d\u5217\u306b\u3067\u304d\u305f\u307b\u3046\u304c\u3044\u3044\u3002<\/p>\n<p>\u306a\u306e\u3067\u3001\u5909\u63db\u30e9\u30a4\u30d6\u30e9\u30ea\u306a\u3044\u304b\u306a\u3063\u3066\u8abf\u3079\u3066\u307f\u3066\u3082\u3001\u4f5c\u308a\u65b9\u306e\u3063\u3051\u3066\u308b\u304b\u3001\u6a19\u6e96\u7684\u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u306a\u3044\u3002<br \/>\n\u7d50\u69cb\u4f7f\u3046\u304b\u3089\u7528\u610f\u3057\u3068\u3053\u3046\u305c\u30fb\u30fb\u30fb\u3063\u3066\u601d\u3046\u306e\u3060\u304c\u3002<\/p>\n<p>\u3088\u3063\u3066\u3001\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u95a2\u6570\u3092\u6642\u9593\u304b\u3051\u305a\u306b\u4f5c\u3063\u305f\u3002<\/p>\n<p>\u914d\u5217\u5207\u308a\u523b\u3093\u3067\u3001\u3063\u3066\u5f62\u3060\u3068\u9664\u7b97\u304c\u51fa\u305f\u308a\u30e1\u30f3\u30c6\u9762\u5012\u3060\u3057\u305d\u308c\u3060\u3063\u305f\u3089\u5185\u90e8\u3067\u5909\u63db\u3057\u3066\u308b\u95a2\u6570\u4f7f\u3046\u3088\u3002<\/p>\n<h3>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h3>\n<p>Arduino\u74b0\u5883\u3067u8g2\u4f7f\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u524d\u63d0\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u9069\u5f53\u306bMIT\u30e9\u30a4\u30bb\u30f3\u30b9\u3067\u3002<\/p>\n<p>\u5185\u5bb9\u3068\u3057\u3066\u306f\u3001\u300cbyte\u578b\u306e\u6570\u5024\u3092\u53cd\u8ee2\u63cf\u753b\u3059\u308b\u300d\u3082\u306e\u306b\u306a\u308a\u307e\u3059\u3002<br \/>\n\u5185\u90e8\u3067\u306f\u300cbyte\u578b\u3092String\u578b\u306b\u5909\u63db\u2192String\u578b\u304b\u3089char\u578b\u306b\u5909\u63db\u2192\u53cd\u8ee2\u30d5\u30e9\u30b0\u3092\u7acb\u3066\u3066\u63cf\u753b\u300d\u3063\u3066\u306e\u3092\u884c\u3063\u3066\u307e\u3059\u3002<\/p>\n<p>\u3082\u3061\u308d\u3093\u5909\u6570\u3092\u5916\u3060\u3057\u306b\u3082\u3067\u304d\u307e\u3059\u304c\u3001\u3084\u308a\u3059\u304e\u308b\u3068\u751f\u306e\u95a2\u6570\u4f7f\u3063\u3066\u3093\u306e\u3068\u5909\u308f\u3089\u306a\u3044\u306e\u3067\u9ed9\u6bba\u3002<\/p>\n<pre class=\"brush: cpp; title: ; notranslate\" title=\"\">\r\n\r\nvoid drawByteInv(byte dat,byte x,byte y ){\r\n  String temp=String(dat);\r\n  byte len=temp.length()+1;\r\n  char result[len];\r\n  temp.toCharArray(result, len);\r\n\r\n  u8g2.drawButtonUTF8(x, y, U8G2_BTN_INV, 0, 1, 1, result );\r\n}\r\n\r\n<\/pre>\n<h3>\u53c2\u8003\u8cc7\u6599<\/h3>\n<p><a href=\"https:\/\/doubtpad.hatenablog.com\/entry\/2020\/09\/28\/015028\">Arduino\u3067String\u2192char\u5909\u63db\u3092\u8a66\u3057\u305f\u3089\u30c9\u30c4\u30dc\u306b\u5d4c\u3063\u305f &#8211; \u622f\u8a00\u65e5\u8a18 (hatenablog.com)<\/a><\/p>\n<p><a href=\"https:\/\/github.com\/olikraus\/u8g2\/wiki\/u8g2reference\">u8g2reference \u00b7 olikraus\/u8g2 Wiki (github.com)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b7\u30fc\u30b1\u30f3\u30b5\u4f5c\u308b\u305f\u3081\u306e\u4ed5\u69d8\u306f\u3042\u3089\u304b\u305f\u6c7a\u3081\u305f \u4ed5\u69d8\u3068\u63cf\u753b\u60c5\u5831\u3092\u6c7a\u3081\u3066\u3001\u8981\u6c42\u3092\u6e80\u305f\u3059\u305f\u3081\u306b\u5fc5\u8981\u305d\u3046\u306a\u6a5f\u80fd\u3092\u8abf\u3079\u3066\u307e\u3059\u3002 \u30b7\u30fc\u30b1\u30f3\u30b5\u52d5\u4f5c\u306e\u4ed5\u7d44\u307f\u81ea\u4f53\u306f\u3059\u3067\u306b\u8abf\u67fb\u6e08\u307f\u306e\u305f\u3081\u3001\u3053\u3053\u6570\u65e5\u63cf\u753b\u5468\u308a\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307e\u3057\u305f\u3002 \u6570\u5024\u2192\u6587\u5b57\u5217\u3078\u306e&hellip; <span class=\"clear\"><\/span><a href=\"https:\/\/machiaworx.net\/?p=1793\" class=\"more-link read-more\" rel=\"bookmark\"><span class=\"screen-reader-text\">\u30cf\u30fc\u30c9\u30b7\u30fc\u30b1\u30f3\u30b5\u958b\u767a\u3002\uff08\u305d\u306e\uff11\uff13\uff1a\u6587\u5b57\u5217\u63cf\u753b\u3068\u6570\u5024\u306e\u5909\u63db\uff09<\/span><i class=\"fa fa-arrow-right\"><\/i> \u306e\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,23,4],"tags":[],"class_list":["post-1793","post","type-post","status-publish","format-standard","hentry","category-synth-dev","category-embed","category-pgm"],"_links":{"self":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/1793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1793"}],"version-history":[{"count":2,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/1793\/revisions"}],"predecessor-version":[{"id":1795,"href":"https:\/\/machiaworx.net\/index.php?rest_route=\/wp\/v2\/posts\/1793\/revisions\/1795"}],"wp:attachment":[{"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/machiaworx.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}