{"published":"2019-02-20 14:32:21","author_name":"mats12345","url":"https://mats12345.hatenablog.com/entry/2019/02/20/143221","author_url":"https://blog.hatena.ne.jp/mats12345/","image_url":null,"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmats12345.hatenablog.com%2Fentry%2F2019%2F02%2F20%2F143221\" title=\"\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u306e\u7b26\u53f7\u62e1\u5f35\u3068\u89e3\u6c7a(Arduino,C\u8a00\u8a9e) - mats12345\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","type":"rich","height":"190","description":"\u6982\u8981 Arduino\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b7\u30ea\u30a2\u30eb\u5165\u529b\u3067\u53d7\u3051\u53d6\u3063\u305f\u5024\u3092\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u3067\u8868\u793a\u3057\u3088\u3046\u3068\u3059\u308b\u3068F\u304c\u3081\u3063\u3061\u3083\u51fa\u308b\u3084\u3064\u306e\u89e3\u6c7a\u6cd5\u3002 \u8d77\u3053\u3063\u305f\u3053\u3068 BLE\u30ec\u30b7\u30fc\u30d0\u304b\u3089\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b7\u30ea\u30a2\u30eb\u3067\u53d7\u3051\u305fBLE\u30bf\u30b0ID\u306e\u4e00\u90e8'0x88'\u3092\u51fa\u529b\u3057\u3088\u3046\u3068 char data = BLE.read(); Serial.print(data, HEX); \u306e\u3088\u3046\u306b\u8a18\u8ff0\u3059\u308b\u3068\u30b7\u30ea\u30a2\u30eb\u30e2\u30cb\u30bf\u306b FFFFFF88 \u3068\u8868\u793a\u3055\u308c\u3001\u8996\u8a8d\u6027\u3084\u305d\u306e\u5f8c\u306e\u8a08\u7b97\u7b49\u306b\u652f\u969c\u304c\u51fa\u305f\u3002 \u539f\u56e0 C\u8a00\u8a9e\u3067char\u5909\u6570\u3092int\u306b\u30ad\u30e3\u30b9\u30c8\u3059\u308b\u3068\u304d\u3001\u6700\u4e0a\u4f4d\u30d3\u30c3\u30c8\u304c '1' \u3067\u3042\u308b\u30682\u306e\u88dc\u6570\u8868\u73fe\u3092\u7dad\u6301\u3057\u3088\u3046\u3068\u7b26\u53f7\u62e1\u5f35\u3092\u884c\u3046\u3002 \u53c2\u8003 marycore.jp \u89e3\u2026","blog_title":"mats12345\u2019s blog","provider_url":"https://hatena.blog","blog_url":"https://mats12345.hatenablog.com/","categories":["Arduino","C\u8a00\u8a9e"],"version":"1.0","title":"\u30d0\u30a4\u30ca\u30ea\u30c7\u30fc\u30bf\u306e\u7b26\u53f7\u62e1\u5f35\u3068\u89e3\u6c7a(Arduino,C\u8a00\u8a9e)"}