{"description":"Arduino\u3067\u6587\u5b57\u5217\u306e\u30bc\u30ed\u57cb\u3081/\u5de6\u63c3\u3048\u3092\u3084\u308a\u305f\u3044\u306a\u3089\u3001\u7d20\u76f4\u306bsprintf\u3092\u4f7f\u3046\u3068\u697d\u3067\u3059\u3002 \u5b9f\u969b\u306e\u3068\u3053\u308d \u6253\u3063\u8fbc\u3080\u306e\u306fString\u578b\u3067\u306a\u304fChar\u914d\u5217\u578b\u6587\u5b57\u5217\u3067\u3059\u3002 char sendPacket[24] = \"\"; cnt = ((cnt + 1) & 0xff); sprintf(sendPacket, \"x%s\", cnt, \"0203\"); Serial.println(sendPacket); \u53c2\u8003\u3082\u3068 Zero Padding or Leading Zeros","published":"2017-02-13 20:16:44","provider_url":"https://hatena.blog","url":"https://shuzo-kino.hateblo.jp/entry/2017/02/13/201644","type":"rich","blog_title":"Bye Bye Moore","width":"100%","image_url":null,"version":"1.0","categories":["arduino"],"provider_name":"Hatena Blog","author_name":"shuzo_kino","title":"Arduino\u3067\u6587\u5b57\u5217\u306e\u30bc\u30ed\u57cb\u3081/\u5de6\u63c3\u3048\u3092\u3084\u308a\u305f\u3044\u306a\u3089\u3001\u7d20\u76f4\u306bsprintf\u3092\u4f7f\u304a\u3046","blog_url":"https://shuzo-kino.hateblo.jp/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshuzo-kino.hateblo.jp%2Fentry%2F2017%2F02%2F13%2F201644\" title=\"Arduino\u3067\u6587\u5b57\u5217\u306e\u30bc\u30ed\u57cb\u3081/\u5de6\u63c3\u3048\u3092\u3084\u308a\u305f\u3044\u306a\u3089\u3001\u7d20\u76f4\u306bsprintf\u3092\u4f7f\u304a\u3046 - Bye Bye Moore\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/shuzo_kino/","height":"190"}