{"id":2793,"date":"2019-12-20T17:57:43","date_gmt":"2019-12-20T08:57:43","guid":{"rendered":"https:\/\/androiphone.uvs.jp\/?p=2793"},"modified":"2019-12-20T17:58:44","modified_gmt":"2019-12-20T08:58:44","slug":"%e3%83%a9%e3%82%ba%e3%83%91%e3%82%a4-%e3%83%a9%e3%82%ba%e3%83%91%e3%82%a4zero%e3%81%a7%e3%83%80%e3%83%83%e3%82%b7%e3%83%a5%e3%83%9c%e3%83%bc%e3%83%89%e6%83%85%e5%a0%b1%e8%a1%a8%e7%a4%ba%e6%9d%bf-2","status":"publish","type":"post","link":"https:\/\/androiphone.uvs.jp\/?p=2793","title":{"rendered":"[\u30e9\u30ba\u30d1\u30a4] \u30e9\u30ba\u30d1\u30a4Zero\u3067\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9(\u60c5\u5831\u8868\u793a\u677f)\u3092\u4f5c\u308b\u3000\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u7de8"},"content":{"rendered":"<div class=\"linkcard\"><div class=\"lkc-internal-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/androiphone.uvs.jp\/?p=2786\" data-lkc-id=\"657\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=androiphone.uvs.jp\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">ANDROIPHONE<\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"\/\/androiphone.uvs.jp\/wp-content\/uploads\/2019\/12\/img_0892-scaled-e1576819138366-150x150.jpg\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">[\u30e9\u30ba\u30d1\u30a4] \u30e9\u30ba\u30d1\u30a4Zero\u3067\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9(\u60c5\u5831\u8868\u793a\u677f)\u3092\u4f5c\u308b\u3000\u7d44\u7acb\u7de8<\/div><div class=\"lkc-date\">&#x1f552;&#xfe0f;2019\u5e7412\u670820\u65e5<\/div><div class=\"lkc-excerpt\">Pi Zero\u3068\u5c0f\u578b\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3092\u4f7f\u3063\u3066\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u4f5c\u308a\u305f\u3044\u306a\u3068\u5e38\u3005\u601d\u3063\u3066\u305f\u3051\u3069\u3001\u3069\u3046\u3082\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3092\u8cb7\u3046\u306b\u81f3\u3089\u306a\u304b\u3063\u305f\u3002\u4eca\u56deAmazon\u3067\u307f\u3066\u3066\u3001\u4f55\u3068\u304b\u306a\u308a\u305d\u3046\u306a\u3082\u306e\u3092\u898b\u3064\u3051\u305f\u305f\u3081\u3001\u52e2\u3044\u3067\u307d\u3061\u3063\u305f\u307e\u3041\u3001\u3068\u308a\u3042\u3048\u305a\u3001\u5b8c\u6210\u54c1\u306b\u8fd1\u3044\u52d5\u753b\u3002\u660e\u308b\u3055\u5145\u5206\u3002\u5fdc\u7b54\u3082\u554f\u984c\u306a\u304f\u30a4\u30a4\u611f\u3058\u3002\u5bb6\u306e\u6d88\u8cbb\u96fb\u529b\u306f\u3001\u3053\u306e\u524d\u8a18\u4e8b\u306b\u3057\u305f\u3001\u30af\u30e9\u30f3\u30d7\u30bb\u30f3\u30b5\u30fc\u3092\u4f7f\u3063\u305f\u96fb\u529b\u8a08\u304b\u3089\u53d6\u5f97\u3057\u3066\u3044\u308b\u3053\u307e\u304b\u3044\u30c7\u30d0\u30c3\u30af\u3068\u8868\u793a\u6587\u5b57\u30b5\u30a4\u30ba\u306e\u8abf\u6574\u4e2d\u30fb\u30fb\u30fb\u3002\u3053\u308c\u306f\u3001Python\u3084Pi\u5074\u306e\u554f\u984c\u306a\u306e\u3067\u3068\u308a\u3042\u3048\u305a\u3001\u7d44\u7acb\u7de8\u3067\u306f\u89e6\u308c\u306a\u3044\u3067\u304a\u304f\u3002\u3053\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3092\u9078\u3076\u4e0a\u3067\u53c2\u8003\u306b\u3057\u305f\u3053...<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<p>\u524d\u306e\u8a18\u4e8b\u3067\u306f\u7d44\u307f\u7acb\u3066\u307e\u3067\u66f8\u3044\u305f\u3051\u3069\u3001\u3068\u3069\u306e\u3064\u307e\u308a<\/p>\n<blockquote><p><span style=\"color: #ff6600;\"><strong><span style=\"font-size: 24pt;\">\u30e9\u30ba\u30d1\u30a4\u3092\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u63a5\u7d9a\u3057\u3066\u307f\u305f\u3063\uff01\uff01<\/span><\/strong><\/span><\/p><\/blockquote>\n<p>\u3060\u3051\u306e\u8a71\u3057\u3002\u7279\u306b\u76ee\u65b0\u3057\u3044\u3053\u3068\u3082\u3057\u3066\u306a\u3044\u3057\u3001\u5546\u54c1\u7d39\u4ecb\u306b\u7d42\u308f\u3063\u3066\u305f\u3051\u3069\u3001\u3053\u3053\u304b\u3089\u304c\u672c\u756a\u3002\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u4f5c\u308a\u306b\u304b\u304b\u308b\u3002\u6700\u521d\u306f<span style=\"color: #993366;\"><strong><span style=\"font-size: 18pt;\">\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3059\u308b\u6c17\u306a\u3093\u3066\u5168\u304f\u306a\u304b\u3063\u305f<\/span><\/strong><\/span>\u3002\u306a\u305c\u306a\u3089\u3001<\/p>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/qiita.com\/moonstruckdrops@github\/items\/c58528df1ad4632cff52\" data-lkc-id=\"658\" target=\"_blank\" rel=\"external noopener\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=qiita.com\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">Qiita<\/div><div class=\"lkc-share\"> <div class=\"lkc-sns-hb\">5 Users<\/div> <div class=\"lkc-sns-po\">27 Pockets<\/div><\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"https:\/\/s.wordpress.com\/mshots\/v1\/https%3A%2F%2Fqiita.com%2Fmoonstruckdrops%40github%2Fitems%2Fc58528df1ad4632cff52?w=100\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">Raspberry Pi\u3067\u4f5c\u308b\u304a\u624b\u8efdDashbord - Qiita<\/div><div class=\"lkc-url\" title=\"https:\/\/qiita.com\/moonstruckdrops@github\/items\/c58528df1ad4632cff52\">https:\/\/qiita.com\/moonstruckdrops@github\/items\/c58528df1ad4632cff52<\/div><div class=\"lkc-excerpt\">\u3053\u3093\u306b\u3061\u306f\u3002Livesense - \u95a2 Advent Calendar 2017\u306e9\u65e5\u76ee\u3092\u62c5\u5f53\u3057\u307e\u3059\u30a8\u30f3\u30b8\u30cb\u30a2\u306e@kurobara\u3067\u3059\u3002\u30ea\u30d6\u30bb\u30f3\u30b9\u3067\u306f\u3001\u5c31\u6d3b\u751f\u5411\u3051\u306e\u30e1\u30c7\u30a3\u30a2\u3067\u3042\u308b\u5c31\u6d3b\u4f1a\u8b70\u306e\u958b\u767a\u3092\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u5e74\u306e\u534a\u3070\u307e\u3067\u306f\u3001\u4f1a...<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<p>\u4e0a\u30b5\u30a4\u30c8\u307f\u305f\u3044\u306b<\/p>\n<blockquote><p><strong><span style=\"color: #ff6600; font-size: 24pt;\">Web\u30d9\u30fc\u30b9\u3067\u3084\u308d\u3046\u3068\u601d\u3063\u3066\u305f\u304b\u3089\u3063\uff01\uff01<\/span><\/strong><\/p><\/blockquote>\n<p>\u3064\u307e\u308a\u306f\u30b5\u30fc\u30d0\u30fc\u3092\u7acb\u3066\u3066\u3001\u305d\u3053\u3067\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u8868\u793a\u3059\u308b\u30b5\u30a4\u30c8\u306b\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u8868\u793a\u3059\u308b\u3068\u3044\u3046\u65b9\u6cd5\u3002\u304a\u305d\u3089\u304f\u3001\u30c7\u30b6\u30a4\u30f3\u3057\u3084\u3059\u3044\u3057\u6c4e\u7528\u6027\u304c\u9ad8\u3044\u3093\u3067\u3057\u3087\u3046\u3002\u9014\u4e2d\u307e\u30673b+\u3067\u3084\u3063\u3066\u3066\u3001\u306a\u3093\u304b\u3082\u3063\u3055\u308a\u3057\u3066\u308b\u306a\u3041\u3068\u601d\u3063\u3066\u3001\u5acc\u306a\u4e88\u611f\u306f\u3057\u3066\u3044\u307e\u3057\u305fw\u3002Zero\u3067\u8a66\u3057\u306b\u300csmashing\u300d\u3068\u3084\u3089\u3092\u52d5\u304b\u3057\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u8868\u793a\u3055\u305b\u3088\u3046\u3068\u3057\u305f\u3068\u3053\u308d\u3002\u3002\u3002<\/p>\n<p>\u307e\u305a\u3001\u30af\u30ed\u30fc\u30e0\u306e\u8d77\u52d5\u304c\u3084\u305f\u3089\u9045\u3044\u30fb\u30fb\u30fb\u3002\u305d\u306e\u3046\u3048\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u306e\u30a2\u30c9\u30ec\u30b9\u3092\u8d77\u52d5\u3057\u3066\u3082\u53cd\u5fdc\u306a\u3057\u30fb\u30fb\u30fbw<\/p>\n<p><span style=\"font-size: 18pt;\">\u30d6\u30e9\u30a6\u30b6\u304c\u91cd\u3044\u306e\u304b\u3001\u30b5\u30fc\u30d0\u30fc\u304c\u91cd\u3044\u306e\u304b\u30fb\u30fb\u30fb\uff1f<\/span>\u3002\u30d6\u30e9\u30a6\u30b6\u3092\u8efd\u91cf\u306e\u3082\u306e\u300cSurf\u300d\u306b\u5909\u3048\u3066\u307f\u305f\u3051\u3069\u3001\u3084\u3063\u3071\u308a\u8868\u793a\u306b\u306f\u81f3\u3089\u306a\u3044\u3002<\/p>\n<p><a href=\"https:\/\/androiphone.uvs.jp\/wp-content\/uploads\/2019\/12\/6481392ce1eb65bf23008700470e2d1f.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2794\" src=\"https:\/\/androiphone.uvs.jp\/wp-content\/uploads\/2019\/12\/6481392ce1eb65bf23008700470e2d1f.jpg\" alt=\"\" width=\"354\" height=\"202\" srcset=\"https:\/\/androiphone.uvs.jp\/wp-content\/uploads\/2019\/12\/6481392ce1eb65bf23008700470e2d1f.jpg 391w, https:\/\/androiphone.uvs.jp\/wp-content\/uploads\/2019\/12\/6481392ce1eb65bf23008700470e2d1f-300x171.jpg 300w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/a><\/p>\n<blockquote><p><strong><span style=\"font-size: 24pt; color: #ff0000;\">\u3053\u308c\u306f\u30fb\u30fb\u30fbZero\u3058\u3083\u7121\u7406\u306a\u3093\u3067\u306f\uff1f<\/span><\/strong><\/p><\/blockquote>\n<p>\u30b5\u30fc\u30d0\u30fc\u3092Pi3B+\u3067\u8d77\u52d5\u3057\u3066\u3001\u518d\u5ea6\u8efd\u91cf\u30d6\u30e9\u30a6\u30b6\u3067\u30fb\u30fb\u30fb\u3053\u308c\u3058\u3083\u3041\u3001\u624b\u9593\u3060\u3051\u304b\u304b\u3063\u3066\u5358\u54c1\u52d5\u4f5c\u304c\u3067\u304d\u3066\u306a\u3044\u30fb\u30fb\u30fb\u3002\u3069\u3046\u3057\u3088\u3046\u304b\u30fb\u30fb\u30fb\u30fb\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u306b3b+\u3092\u7a4d\u307f\u306a\u304a\u3059\u304b\uff1f(\u8ca0\u3051)www<\/p>\n<p><span style=\"font-size: 18pt; color: #ff0000;\">\u305d\u3046\u3060\uff01\uff01\u30c0\u30e1\u5143\u3067Python\u306eGUI\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u3064\u304f\u3063\u3066\u5c02\u7528\u306e\u30bd\u30d5\u30c8\u3068\u3057\u3066\u52d5\u304b\u3059\u3057\u304b\u306a\u3044\uff01\uff01<\/span><\/p>\n<p>\u3068\u3044\u3046\u308f\u3051\u3067\u3001Python+PyGame\u306b\u3066\u5236\u4f5c\u306b\u53d6\u308a\u639b\u304b\u308b\u3002\u3082\u3046\u3001\u3053\u3053\u304b\u3089\u304c\u624b\u9593\u30fb\u30fb\u30fb\u3002\u306a\u3093\u305bPython\u3067\u30af\u30e9\u30b9\u3092\u8907\u6570\u4f5c\u308b\u3088\u3046\u306a\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u305f\u3053\u3068\u304c\u306a\u3044\u304b\u3089\u6642\u9593\u304c\u304b\u304b\u308b\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u7121\u77e5\u304b\u3089\u306e\u611a\u75f4\u3060\u3068\u308f\u304b\u3063\u3066\u3044\u308b\u3082\u306e\u306e\u3002\u3002\u30a4\u30f3\u30bf\u30fc\u30d7\u30ea\u30bf\u304c\u6545\u306b\u8d70\u3089\u305b\u3066\u307f\u3066\u304b\u3089\u300c\u5024\u304c\u5165\u3063\u3066\u306d\u30fc\u300d\u3060\u306e\u300c\u578b\u304c\u9055\u3046\u300d\u3060\u306e\u30fb\u30fb\u30fb\u3058\u3083\u3041\u578b\u63a8\u8ad6\u3068\u304b\u3084\u3081\u3088\u30fc\u305c\uff01\u30d6\u30c4\u30d6\u30c4\u3002\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30c3\u30bf\u306e\u88dc\u5b8c\u6a5f\u80fd\u304c\u3044\u307e\u3044\u3061\u3068\u304b\u30fb\u30fb\u30fb\u3002\u30af\u30e9\u30b9\u3067\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u306e\u6642\u306b\u5f15\u6570\u306bself\u3064\u3051\u308b\u306e\u5fd8\u308c\u3066\u3001\u30a8\u30e9\u30fc\u3082\u51fa\u306a\u304f\u5c0f\u4e00\u6642\u9593\u60a9\u3080\u3068\u304b(\u3053\u308c\u306a\u3093\u304b\u8a00\u3063\u304f\u308c\u3088\uff01\uff01)\u30fb\u30fb\u30fb\u3002<\/p>\n<p>\u305d\u3046\u304b\u3068\u601d\u3048\u3070\u3001\u3075\u3068\u30fb\u30fb\u30fbPython\u3063\u3066\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30f3\u30b7\u30e7\u30f3\uff1f\u3068\u304b\u30e1\u30e2\u30ea\u7ba1\u7406\u3082\u6c17\u306b\u306a\u308a\u3059\u304e\u3066\u3001\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3069\u3053\u308d\u3058\u3083\u306a\u304f\u306a\u3063\u305f\u308a\u3068\u304b\u30fb\u30fb\u30fb\u30fbw\u3002python\u306f\u30ac\u30d9\u30fc\u30b8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306a\u306e\u3067\u5faa\u74b0\u53c2\u7167\u3057\u306a\u3044\u9650\u308a\u5927\u4e08\u592b\u3068\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<blockquote><p><span style=\"color: #0000ff;\"><strong><span style=\"font-size: 24pt;\">\u8272\u3005\u30b3\u30b3\u30ed\u304c\u6298\u308c\u305d\u3046\u306b\u306a\u3063\u305f\u3088\uff01\uff01<\/span><\/strong><\/span><\/p><\/blockquote>\n<div class=\"linkcard\"><div class=\"lkc-external-wrap\"><a class=\"lkc-link no_icon\" href=\"https:\/\/karaage.hatenadiary.jp\/entry\/2019\/01\/18\/073000\" data-lkc-id=\"659\" target=\"_blank\" rel=\"external noopener\"><div class=\"lkc-card\"><div class=\"lkc-info\"><div class=\"lkc-favicon\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.google.com\/s2\/favicons?domain=karaage.hatenadiary.jp\" alt=\"\" width=\"16\" height=\"16\" \/><\/div><div class=\"lkc-domain\">karaage. [\u304b\u3089\u3042\u3052]<\/div><div class=\"lkc-share\"> <div class=\"lkc-sns-hb\">11 Users<\/div> <div class=\"lkc-sns-po\">14 Pockets<\/div><\/div><\/div><div class=\"lkc-content\"><figure class=\"lkc-thumbnail\"><img decoding=\"async\" class=\"lkc-thumbnail-img\" src=\"\/\/androiphone.uvs.jp\/wp-content\/uploads\/pz-linkcard\/cache\/d6cac53e48c4213fbd6d6f4dc8abcfc9825d010abb7dfd5d581c6778d7c01705.jpeg\" width=\"100px\" height=\"108px\" alt=\"\" \/><\/figure><div class=\"lkc-title\">Raspberry Pi\u306e\u30bf\u30c3\u30c1\u30d1\u30cd\u30eb\u5bfe\u5fdc\u30a2\u30d7\u30ea\u958b\u767aTIPS - karaage. [\u304b\u3089\u3042\u3052]<\/div><div class=\"lkc-url\" title=\"https:\/\/karaage.hatenadiary.jp\/entry\/2019\/01\/18\/073000\">https:\/\/karaage.hatenadiary.jp\/entry\/2019\/01\/18\/073000<\/div><div class=\"lkc-excerpt\">Raspberry Pi\u3067\u30bf\u30c3\u30c1\u30d1\u30cd\u30eb\u5bfe\u5fdc\u30a2\u30d7\u30ea\u3092\u4f5c\u308a\u305f\u3044 Raspberry Pi\u3067\u7d44\u307f\u8fbc\u307f\u7684\u306b\u30ad\u30fc\u30dc\u30fc\u30c9\u3084\u30de\u30a6\u30b9\u7121\u3057\u3067\u30c7\u30e2\u3092\u3057\u305f\u3044\u3068\u304d\u3001\u9762\u5012\u304f\u3055\u3044\u306e\u304c\u5165\u529b\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u3059\u3002 \u4e00\u756a\u5358\u7d14\u306a\u306e\u304c\u30b9\u30a4\u30c3\u30c1\u3092\u3064\u3051\u308b\u3053\u3068\u3067\u3059\u304c\u3001\u534a\u7530\u4ed8\u3051\u304c\u5fc5\u8981\u3067\u3059\u3057\u3001\u5f8c\u3067\u30b9\u30a4\u30c3\u30c1\u5897\u3084\u3057\u305f\u304f\u306a\u3063\u305f\u308a\u3059\u308b\u3068\u30e1\u30ab\u3084\u30bd\u30d5\u30c8\u3078\u306e\u5f71\u97ff\u304c\u5927\u304d\u304f\u3066\u5927\u5909\u3067\u3059\u3002\u304b\u3068\u3044\u3063\u3066\u3001\u4ed6\u306e\u97f3\u58f0\u5165\u529b\u7b49\u306e\u624b\u6bb5\u3082\u307e\u3060\u307e\u3060\u7c21\u6613\u3068\u306f\u3044\u3048\u307e\u305b\u3093\u3002 \u305d\u3053\u3067\u30bf\u30c3\u30c1\u30d1\u30cd\u30eb\u3067\u3059\u3002\u4ee5\u524d\u3001Raspberry Pi\u306e\u6c7a\u5b9a\u7248\u3068\u3082\u8a00\u3048\u308b\u5c0f\u578b\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3092\u7d39\u4ecb\u3057\u307e\u3057\u305f\u3002 \u3053\u306e\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u3001\u306a\u3093\u3068\u30bf\u30c3\u30c1\u30d1\u30cd\u30eb\u3082\u3064\u3044\u3066...<\/div><\/div><div class=\"clear\"><\/div><\/div><\/a><\/div><\/div>\n<p>\u3053\u3053\u3092\u53c2\u8003\u306b\u3057\u306a\u304c\u3089\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u5909\u3048\u3066\u3044\u304f\u3002\u307e\u305a\u306f\u6642\u8a08\u3092\u8868\u793a\u3057\u3066\u307f\u305f\u3089\u3002Zero\u3067\u3082\u554f\u984c\u306a\u304f\u52d5\u304f\u3053\u3068\u304c\u5206\u304b\u3063\u305f\u3002\u3068\u308a\u3042\u3048\u305a\u3001\u601d\u3044\u3064\u304f\u307e\u307e\u3067\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3057\u3066\u3057\u307e\u3063\u305f\u306e\u3067\u3001\u5f8c\u3067\u6574\u7406\u3057\u3066\u63b2\u8f09\u3057\u3088\u3046\u3068\u601d\u3046\u3051\u3069\u3001\u6642\u8a08\u306e\u90e8\u5206\u3060\u3051\u63b2\u8f09\u3002<\/p>\n<p>[py]<br \/>\n    def update_clock(_x,_y,width,height,back_color):<\/p>\n<p>        last_min  = -1<br \/>\n        last_day  = -1<br \/>\n        last_sec  = -1<\/p>\n<p>        while th_flags[&#8216;clock_widget&#8217;]:<br \/>\n            # \u65e5\u6642\u306e\u53d6\u5f97<br \/>\n            _now = datetime.now()<\/p>\n<p>            today = _now.strftime(&quot;%m\/%d&quot;) + &#8216;(&#8216;+yobi[_now.weekday()]+&#8217;)&#8217;<br \/>\n            nowtime = _now.strftime(&quot;%H:%M&quot;)<br \/>\n            sectime = _now.strftime(&quot;%S&quot;)<\/p>\n<p>            if last_min != _now.minute:<br \/>\n                clock_offset = (-60,-50)<br \/>\n                clock_st = clock_font.render(nowtime, True, (255,255,255))<br \/>\n                x = _x + (width &#8211; clock_st.get_width()) \/ 2 + clock_offset[0]<br \/>\n                y = _y + ((height &#8211; clock_st.get_height()) \/ 2) + clock_offset[1]<br \/>\n                pygame.draw.rect(screen, back_color, Rect(x,y,clock_st.get_width(),clock_st.get_height()))<br \/>\n                screen.blit(clock_st, (x,y))<\/p>\n<p>                last_min = _now.minute<br \/>\n                # \u65e5\u4ed8\u3082\u91cd\u306a\u308b\u305f\u3081\u518d\u63cf\u753b<br \/>\n                last_day = -1 <\/p>\n<p>            if last_sec != _now.second :<br \/>\n                sec_st_offset = (330,-10)<br \/>\n                sec_st = sec_font.render(sectime, True, (255,255,255))<br \/>\n                x = _x + (width &#8211; sec_st.get_width()) \/ 2 + sec_st_offset[0]<br \/>\n                y = _y + ((height &#8211; sec_st.get_height()) \/ 2) + sec_st_offset[1]<br \/>\n                pygame.draw.rect(screen, back_color, Rect(x,y,sec_st.get_width(),sec_st.get_height()))<br \/>\n                screen.blit(sec_st, (x,y))<\/p>\n<p>                last_sec = _now.second<\/p>\n<p>            if last_day != _now.day :<br \/>\n                day_color = (255,255,255)<br \/>\n                if _now.weekday()==6:<br \/>\n                    day_color = (255,100,100)<br \/>\n                if _now.weekday()==5:<br \/>\n                    day_color = (180,180,255)<\/p>\n<p>                date_offset = (-100,120)<br \/>\n                date_st = date_font.render(today, True, day_color)<br \/>\n                x = _x + (width &#8211; date_st.get_width()) \/ 2 + date_offset[0]<br \/>\n                y = _y + ((height &#8211; date_st.get_height()) \/ 2) + date_offset[1]<\/p>\n<p>                pygame.draw.rect(screen, back_color, Rect(x,y,date_st.get_width(),date_st.get_height()))<br \/>\n                screen.blit(date_st, (x,y))<\/p>\n<p>                r = odc.get_roku(_now.year,_now.month,_now.day)<br \/>\n                roku_color = (255,255,255)<br \/>\n                if r == &#8216;\u5927\u5b89&#8217;:<br \/>\n                    roku_color = (255,100,100)<\/p>\n<p>                roku_offset = (220,120)<br \/>\n                roku_st = date_font.render(r, True, roku_color)<br \/>\n                x = _x + (width &#8211; roku_st.get_width()) \/ 2 + roku_offset[0]<br \/>\n                y = _y + ((height &#8211; roku_st.get_height()) \/ 2) + roku_offset[1]<\/p>\n<p>                pygame.draw.rect(screen, back_color, Rect(x,y,roku_st.get_width(),roku_st.get_height()))<br \/>\n                screen.blit(roku_st, (x,y))<\/p>\n<p>                last_day = _now.day<\/p>\n<p>            pygame.display.update()<\/p>\n<p>            time.sleep(0.1)<\/p>\n<p>    th_flags[&#8216;clock_widget&#8217;] = True<br \/>\n    th = threading.Thread(target=update_clock, args=( x, y, width, height, back_color,))<br \/>\n    th.start()<br \/>\n    #threads.append(th)<br \/>\n[\/py]<\/p>\n<p>\u3044\u308d\u3044\u308d\u3001\u3054\u3061\u3083\u3054\u3061\u3083\u3057\u3066\u3044\u308b\u304c\u3001\u3056\u3063\u304f\u308a\u3044\u3046\u3068<\/p>\n<ul>\n<li><strong><span style=\"font-size: 14pt;\">\u30b9\u30ec\u30c3\u30c9\u30920.1s\u6bce\u306b\u547c\u3073\u51fa\u3057\u3066\u3001\u6642\u9593\u306e\u518d\u63cf\u8a18\u3092\u884c\u3063\u3066\u3044\u308b<\/span><\/strong><\/li>\n<li><strong><span style=\"font-size: 14pt;\">0.1\u79d2\u6bce\u306b\u5168\u9762\u66f8\u304d\u63db\u3048\u3066\u3082\u30c1\u30e9\u3064\u304f(\u51e6\u7406\u901f\u5ea6\u306e\u95a2\u4fc2)\u306e\u3067\u3001\u5206\u306b\u5909\u5316\u304c\u3042\u3063\u305f\u6642\u306b\u5fc5\u8981\u306a\u90e8\u5206\u306e\u307f\u518d\u63cf\u8a18\u3092\u884c\u3046<\/span><\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u307e\u3041\u3001\u516d\u66dc\u306e\u8a08\u7b97(odc\u3068\u3044\u3046\u30af\u30e9\u30b9\u304c\u62c5\u3063\u3066\u3044\u308b)\u3068\u304b\u3082\u65e5\u4ed8\u5909\u66f4\u6642\u306e\u307f\u306b\u884c\u3046\u3068\u304b\u3057\u305f\u307b\u3046\u304c\u30a4\u30a4\u3068\u601d\u3046\u3002\u307e\u3060\u6700\u9069\u5316\u3057\u3066\u306a\u3044\u306e\u3067\u8a31\u3057\u3066\u30fb\u30fb\u30fb\u3002\u8868\u793a\u3059\u308b\u9805\u76ee\u304c\u5897\u3048\u308c\u3070\u5897\u3048\u308b\u307b\u3069\u3001\u30b9\u30ec\u30c3\u30c9\u6570\u304c\u5897\u3048\u308b\u3057\u3001\u52d5\u4f5c\u3082\u91cd\u304f\u306a\u308b\u306e\u3067\u7c21\u6f54\u306b\u8efd\u304f\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u3059\u308b\u306e\u304c\u5fc5\u9808\u3067\u3059(\u3084\u3063\u3066\u306a\u3044\u3051\u3069w)\u3002th_flags\u3068threads\u3067\u7ba1\u7406\u3057\u3066\u308b\u3051\u3069\u3001\u7d42\u308f\u3063\u305f\u3089\u30b9\u30ec\u30c3\u30c9\u306f\u3061\u3083\u3093\u3068\u6b62\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u57fa\u672c\u306f\u3001\u3053\u306e\u52d5\u4f5c\u3092\u5e73\u884c\u306b\u51e6\u7406\u3059\u308b\u3060\u3051\u3002\u6642\u8a08\u306f\u81ea\u52d5\u3067\u30c7\u30fc\u30bf\u66f4\u65b0\u3057\u3066\u304f\u308c\u308b(datetime\u30af\u30e9\u30b9\u3067now\u3092\u53e9\u3051\u3070\u3067\u308b)\u3051\u3069\u3001\u4ed6\u306f\u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u304c\u5fc5\u8981\u3068\u306a\u308b\u3002<\/p>\n<ul>\n<li><strong><span style=\"font-size: 14pt;\">\u30c7\u30fc\u30bf\u66f4\u65b0\u30b9\u30ec\u30c3\u30c9(\u5929\u6c17\u3001\u5730\u9707\u3001\u6d88\u8cbb\u96fb\u529b\u3001\u30a2\u30e1\u30c0\u30b9\u3092\u5b9a\u671f\u7684\u306b\u8aad\u307f\u306b\u884c\u304f\u30b9\u30ec\u30c3\u30c9)<\/span><\/strong><\/li>\n<li><strong><span style=\"font-size: 14pt;\">\u8868\u793a\u66f4\u65b0\u30b9\u30ec\u30c3\u30c9(\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u306e\u8868\u793a\u3092\u7ba1\u7406\u3059\u308b\u30b9\u30ec\u30c3\u30c9)<\/span><\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>\u3053\u306e2\u672c\u7acb\u3066\u3067\u7ba1\u7406\u3057\u3066\u3044\u304f\u3088\u3046\u306a\u4ed5\u7d44\u307f\u306b\u306a\u3063\u3066\u3044\u308b\u3002\u3053\u306e\u30c7\u30fc\u30bf\u66f4\u65b0\u30b9\u30ec\u30c3\u30c9\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067Web\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3068\u3044\u3046\u6280\u8853\u3092\u4f7f\u3046\u3002\u306a\u308b\u3079\u304f\u76f8\u624b\u30b5\u30fc\u30d0\u30fc\u306b\u8ca0\u8377\u3092\u304b\u3051\u306a\u3044\u3088\u3046\u306a\u983b\u5ea6\u3067\u30c7\u30fc\u30bf\u66f4\u65b0\u3092\u884c\u308f\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3002\u300c1\u79d2\u306b1\u56de\u7a0b\u5ea6\u304c\u300d\u884c\u5100\u304c\u30a4\u30a4\u3068\u8a00\u308f\u308c\u3066\u3044\u308b\u3051\u3069\u3001\u5929\u6c17\u4e88\u5831\u3084\u30a2\u30e1\u30c0\u30b9\u306f30\uff5e60\u5206\u306b\u4e00\u5ea6\u7a0b\u5ea6\u3067\u3044\u3044\u3057\u3001\u5730\u9707\u60c5\u5831\u3082\u305b\u3044\u305c\u304410\u79d2\u306b1\u5ea6\u7a0b\u5ea6\u3067\u3088\u3044\u3060\u308d\u3046\u3002\u6c17\u3092\u4ed8\u3051\u3066\u904b\u7528\u3059\u308b\u3079\u304d\u3068\u3053\u308d\u3060\u3068\u601d\u3046\u3002<\/p>\n<p>\u73fe\u5728\u306f\u3001\u6642\u8a08\u6a5f\u80fd\u3001\u5929\u6c17\u4e88\u5831(\u4eca\u65e5\u30fb\u660e\u65e5\u30fb\u8b66\u5831\u30fb\u6ce8\u610f\u5831)\u3001\u5730\u9707\u60c5\u5831(NHK\u7531\u6765)\u3001\u5730\u9707\u901f\u5831(HiNet\u7531\u6765)\u3001\u73fe\u5728\u306e\u6c17\u6e29\u306a\u3069(\u30a2\u30e1\u30c0\u30b9\u7531\u6765)\u3001\u5ba4\u6e29\u306a\u3068(BME280\u7531\u6765)\u3001\u5229\u7528\u96fb\u529b\u91cf(\u30af\u30e9\u30f3\u30d7\u30e1\u30fc\u30bf\u7531\u6765)\u3092\u5207\u308a\u66ff\u3048\u3066\u8868\u793a\u3057\u3066\u3044\u308b\u3002\u6c5a\u3059\u304e\u308b\u30b3\u30fc\u30c9\u306a\u306e\u3067\u304d\u308c\u3044\u306b\u3057\u3066\u304b\u3089\u3068\u601d\u3046\u3002\u305d\u3057\u3066\u3001\u305d\u308c\u305e\u308c\u30af\u30e9\u30b9\u5225\u306b\u4f5c\u3063\u3066\u308b\u306e\u3067\u8a18\u4e8b\u306b\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3046\u3002<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/swSuTMibHiQ\" width=\"560\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u306e\u8a18\u4e8b\u3067\u306f\u7d44\u307f\u7acb\u3066\u307e\u3067\u66f8\u3044\u305f\u3051\u3069\u3001\u3068\u3069\u306e\u3064\u307e\u308a \u30e9\u30ba\u30d1\u30a4\u3092\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u63a5\u7d9a\u3057\u3066\u307f\u305f\u3063\uff01\uff01 \u3060\u3051\u306e\u8a71\u3057\u3002\u7279\u306b\u76ee\u65b0\u3057\u3044\u3053\u3068\u3082\u3057\u3066\u306a\u3044\u3057\u3001\u5546\u54c1\u7d39\u4ecb\u306b\u7d42\u308f\u3063\u3066\u305f\u3051\u3069\u3001\u3053\u3053\u304b\u3089\u304c\u672c\u756a\u3002\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u3092\u4f5c\u308a\u306b\u304b\u304b\u308b\u3002\u6700\u521d\u306f\u30b3\u30fc\u30c7\u30a3 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2765,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"","_original_post":"","footnotes":""},"categories":[79,58,56,68],"tags":[],"class_list":["post-2793","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-79","category-python","category-raspberry-pi","category-raspberry-pi-zero-wh","ja"],"_links":{"self":[{"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/posts\/2793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2793"}],"version-history":[{"count":5,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/posts\/2793\/revisions"}],"predecessor-version":[{"id":2799,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/posts\/2793\/revisions\/2799"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=\/wp\/v2\/media\/2765"}],"wp:attachment":[{"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/androiphone.uvs.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}