{"id":808,"date":"2017-05-09T19:21:13","date_gmt":"2017-05-09T10:21:13","guid":{"rendered":"http:\/\/www.mizutan.com\/wordpress\/?p=808"},"modified":"2026-04-13T07:11:36","modified_gmt":"2026-04-12T22:11:36","slug":"post-808","status":"publish","type":"post","link":"https:\/\/www.mizutan.com\/wordpress\/?p=808","title":{"rendered":"sense hat\u306b\u642d\u8f09\u306e\u30bb\u30f3\u30b5\u30fc\u306b\u3066\u6c17\u5727\u3001\u6e29\u5ea6\u3001\u6e7f\u5ea6\u3092\u6e2c\u5b9a\u3059\u308b"},"content":{"rendered":"\n<p class=\"has-vivid-red-color has-text-color has-small-font-size\">\u203b\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u3057\u307e\u3057\u305f\u30002018\/10\/9<\/p>\n\n\n\n<p>\u4eca\u307e\u3067\u306f\u3001sense hat \u306e\uff2c\uff25\uff24\u3078\u306e\u8868\u793a\uff08sense hat\u306e\u53d6\u4ed8\u3051\u3068LED\u306b\u30c6\u30ad\u30b9\u30c8\u8868\u793a\u3092\u5b9f\u65bd\u3001sense hat\u306eLED\u30de\u30c8\u30ea\u30af\u30b9\u4e0a\u306b\u69d8\u3005\u306a\u30a4\u30e1\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u3001<a rel=\"noreferrer noopener\" href=\"https:\/\/www.mizutan.com\/wordpress\/?p=717\" target=\"_blank\">sense hat\u306eLED\u30de\u30c8\u30ea\u30af\u30b9\u8868\u793a\u306e\u5411\u304d\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5<\/a>\uff09\u3092\u5b9f\u65bd\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.mizutan.com\/wordpress\/?p=679\" target=\"_blank\">sense hat\u306e\u53d6\u4ed8\u3051\u3068LED\u306b\u30c6\u30ad\u30b9\u30c8\u8868\u793a\u3092\u5b9f\u65bd<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.mizutan.com\/wordpress\/?p=703\" target=\"_blank\">sense hat\u306eLED\u30de\u30c8\u30ea\u30af\u30b9\u4e0a\u306b\u69d8\u3005\u306a\u30a4\u30e1\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b<\/a><\/li>\n\n\n\n<li><a rel=\"noreferrer noopener\" href=\"https:\/\/www.mizutan.com\/wordpress\/?p=717\" target=\"_blank\">sense hat\u306eLED\u30de\u30c8\u30ea\u30af\u30b9\u8868\u793a\u306e\u5411\u304d\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5<\/a><\/li>\n<\/ul>\n\n\n\n<p>\u4eca\u56de\u306f\u3001<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ee0000\" class=\"has-inline-color\">Sense hat\u4e0a\u306b\u3042\u308b\u30bb\u30f3\u30b5\u30fc\u306b\u7740\u76ee<\/mark><\/strong>\u3057\u307e\u3059\u3002<br><br><strong>Sense HAT\u306b\u306f\u3001\u5468\u56f2\u306e\u72b6\u6cc1\u3092\u691c\u51fa\u3059\u308b\u305f\u3081\u306e\u4e00\u9023\u306e\u74b0\u5883\u30bb\u30f3\u30b5\u30fc\u304c\u3042\u308a\u307e\u3059\u3002<\/strong><br><br>\u5177\u4f53\u7684\u306b\u8a00\u3046\u3068\u3001\u300c\u6c17\u5727\u300d\u300c\u6e29\u5ea6\u300d\u300c\u6e7f\u5ea6\u300d\u3092\u6e2c\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br><br>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001<span data-color=\"#ffff00\" style=\"--vk-highlighter-color: rgba(255, 255, 0, 0.7);\" class=\"vk_highlighter\">Senese hat\u4e0a\u306b\u3042\u308b\u30bb\u30f3\u30b5\u30fc\u3092\u4f7f\u3063\u3066\u3001\u300c\u6c17\u5727\u300d\u300c\u6e29\u5ea6\u300d\u300c\u6e7f\u5ea6\u300d\u3092\u6e2c\u5b9a\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb<\/span>\u3057\u307e\u3059\u3002<br><br>\u305d\u308c\u305e\u308c\u306e\u30bb\u30f3\u30b5\u30fc\u306e\u4f4d\u7f6e\u306b\u3064\u3044\u3066\u306f\u53c2\u8003\u8a18\u4e8b\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<!-- WP QUADS v. 2.0.98  Shortcode Ad -->\n<div class=\"quads-location quads-ad\" id=\"quads-ad\" style=\"float:none;margin:0px 0 0px 0;text-align:center;\">\n\u30b9\u30dd\u30f3\u30b5\u30fc\u30ea\u30f3\u30af\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1169427325398969\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<!-- www_\u30a4\u30f3\u30c8\u30ed -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-1169427325398969\"\r\n     data-ad-slot=\"1208333098\"\r\n     data-ad-format=\"rectangle\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><br><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading is-style-vk-heading-double_black\">Sense HAT \u3067\u6c17\u5727\u3092\u6e2c\u308b<\/h2>\n\n\n\n<p>\u307e\u305a\u306f\u3001<strong>Sense HAT \u3067\u6c17\u5727\u3092\u6e2c\u3063\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/strong><br><br>\u6c17\u5727\u3092\u6e2c\u308a\u3001print \u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from sense_hat import SenseHat\n\nsense = SenseHat()\nsense.clear()\n\npressure = sense.get_pressure()\nprint(pressure)<\/code><\/pre><\/div>\n\n\n\n<p>\u5b9f\u884c\u3059\u308b\u3068\u3001\u6e2c\u5b9a\u3057\u305f\u6c17\u5727\u306e\u5024\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002 <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">1018.3173828125 <\/pre>\n\n\n\n<h2 class=\"wp-block-heading is-style-vk-heading-double_black\">Sense HAT \u3067\u6e29\u5ea6\u3092\u691c\u51fa\u3059\u308b<\/h2>\n\n\n\n<p>\u6b21\u306f\u3001<strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ee0000\" class=\"has-inline-color\">Sense HAT \u3067\u6e29\u5ea6\u3092\u691c\u51fa<\/mark><\/strong>\u3057\u307e\u3059\u3002<br><br><span data-color=\"#ffff00\" style=\"--vk-highlighter-color: rgba(255, 255, 0, 0.7);\" class=\"vk_highlighter\">Sense HAT\u306b\u306f\u3001\u5468\u56f2\u6e29\u5ea6\u3092\u8aad\u307f\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u30bb\u30f3\u30b5\u30fc\u304c2\u3064\u7528\u610f<\/span>\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br><br><strong>\u305d\u306e\u30bb\u30f3\u30b5\u30fc\u3068\u306f\u3001\u6e7f\u5ea6\u30bb\u30f3\u30b5\u30fc\u3068\u5727\u529b\u30bb\u30f3\u30b5\u30fc<\/strong>\u3067\u3059\u3002<br><br>\u5b9f\u969b\u306b\u3001\u3053\u308c\u3089\u306e\u30bb\u30f3\u30b5\u30fc\u3067\u3001\u3069\u306e\u3088\u3046\u306b\u6e29\u5ea6\u3092\u691c\u51fa\u3059\u308b\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>get_temperature<\/strong>\u306f\u6e7f\u5ea6\u30bb\u30f3\u30b5\u30fc\u304b\u3089\u6e29\u5ea6\u3092\u8aad\u307f\u53d6\u308a\u307e\u3059\uff08get_temperature\u306f\u540c\u3058\u30b3\u30de\u30f3\u30c9\u306e\u77ed\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\uff09\u3002<\/li>\n\n\n\n<li><strong>get_temperature_from_pressure<\/strong>\u306f\u3001\u5727\u529b\u30bb\u30f3\u30b5\u30fc\u304b\u3089\u6e29\u5ea6\u3092\u8aad\u307f\u53d6\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u4e0a\u8a18\u306e\u3088\u3046\u306b\u30012\u3064\u306e\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u307e\u3059\u3002<br><br>\u3055\u3063\u305d\u304f\u3001\u305d\u308c\u305e\u308c\u306e\u30bb\u30f3\u30b5\u30fc\u3067\u6e29\u5ea6\u3092\u691c\u51fa\u3057\u3066\u307f\u307e\u3057\u3087\u3046<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from sense_hat import SenseHat\n\nsense = SenseHat()\nsense.clear()\n\ntemp = sense.get_temperature()\nprint(temp)\n\ntemp = sense.get_temperature_from_pressure()\nprint(temp)<\/code><\/pre><\/div>\n\n\n\n<p>\u5b9f\u884c\u3057\u305f\u3068\u3053\u308d\u3001\u4ee5\u4e0b\u306e\u7d50\u679c\u3067\u3059\u3002 <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6e7f\u5ea6\u30bb\u30f3\u30b5\u30fc\uff1a38.38426971435547<\/strong><\/li>\n\n\n\n<li><strong>\u5727\u529b\u30bb\u30f3\u30b5\u30fc\uff1a35.349998474121094 <\/strong><\/li>\n<\/ul>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ee0000\" class=\"has-inline-color\">\u305d\u308c\u305e\u308c\u306e\u30bb\u30f3\u30b5\u30fc\u3067\u6e29\u5ea6\u304c\uff13\u2103\u3082\u9055\u3044\u307e\u3059<\/mark><\/strong>\u306d\u3002<br><br>\u3046\u30fc\u3093\u3001\u3069\u3061\u3089\u304c\u5408\u3063\u3066\u3044\u308b\u3093\u3060\u308d\u3046\u304b\uff1f<br><br>\u3053\u306e\u5834\u3067\u306f\u7d50\u8ad6\u304c\u51fa\u305b\u307e\u305b\u3093\u306d\u3002<br><br><span data-color=\"#ffff00\" style=\"--vk-highlighter-color: rgba(255, 255, 0, 0.7);\" class=\"vk_highlighter\">Sense hat\u3092\u30e9\u30ba\u30d1\u30a4\u306b\u304b\u3076\u305b\u3066\u3042\u308b\u305f\u3081\u304b\u3001\u79cb\u306a\u306e\u306b\u3001\u3053\u3093\u306a\u9ad8\u6e29<\/span>\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<!-- WP QUADS v. 2.0.98  Shortcode Ad -->\n<div class=\"quads-location quads-ad\" id=\"quads-ad\" style=\"float:none;margin:0px 0 0px 0;text-align:center;\">\n\u30b9\u30dd\u30f3\u30b5\u30fc\u30ea\u30f3\u30af\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1169427325398969\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-1169427325398969\"\r\n     data-ad-slot=\"8169621401\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><br><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading is-style-vk-heading-double_black\">Sense HAT \u3067\u6e7f\u5ea6\u3092\u691c\u51fa\u3059\u308b<\/h2>\n\n\n\n<p>\u4eca\u5ea6\u306f\u3001\u6e7f\u5ea6\u3092\u6e2c\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>from sense_hat import SenseHat\n\nsense = SenseHat()\nsense.clear()\n\nhumidity = sense.get_humidity()\nprint(humidity)<\/code><\/pre><\/div>\n\n\n\n<p>\u5b9f\u884c\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u7d50\u679c\u304c\u51fa\u307e\u3057\u305f\u3002 <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">48.57493591308594 <\/pre>\n\n\n\n<p>48.6%\u3067\u3059\u304b\u3002\u307e\u3042\u3001\u4f4e\u3044\u65b9\u306a\u3093\u3067\u3057\u3087\u3046\u304b\u306d\uff1f<\/p>\n\n\n\n<!-- WP QUADS v. 2.0.98  Shortcode Ad -->\n<div class=\"quads-location quads-ad\" id=\"quads-ad\" style=\"float:none;margin:0px 0 0px 0;text-align:center;\">\n\u30b9\u30dd\u30f3\u30b5\u30fc\u30ea\u30f3\u30af\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1169427325398969\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block; text-align:center;\"\r\n     data-ad-layout=\"in-article\"\r\n     data-ad-format=\"fluid\"\r\n     data-ad-client=\"ca-pub-1169427325398969\"\r\n     data-ad-slot=\"9186857477\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><\/div>\n\n\n\n\n<h2 class=\"wp-block-heading is-style-vk-heading-double_black\">\u6c17\u5727\u3001\u6e29\u5ea6\u53ca\u3073\u6e7f\u5ea6\u306e\u30b9\u30af\u30ed\u30fc\u30eb\u30c6\u30ad\u30b9\u30c8\u8868\u793a<\/h2>\n\n\n\n<p>\u3055\u3066\u3001\u6b21\u306e\u6f14\u7fd2\u306f\u3001\u6c17\u5727\u3001\u6e29\u5ea6\u53ca\u3073\u6e7f\u5ea6\u3092\u6e2c\u5b9a\u3057\u3066\u3001\u6e2c\u5b9a\u7d50\u679c\u3092\u30b9\u30af\u30ed\u30fc\u30eb\u30c6\u30ad\u30b9\u30c8\u8868\u793a\u3092\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002<br><br>\u300c\u30c6\u30ad\u30b9\u30c8\u306e\u8868\u793a\u300d\u3067\u7528\u3044\u305f\u30b9\u30af\u30ed\u30fc\u30eb\u30fb\u30c6\u30ad\u30b9\u30c8\u306e\u8868\u793a\u30b3\u30fc\u30c9\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>while True:\n    # Take readings from all three sensors\n    t = sense.get_temperature()\n    p = sense.get_pressure()\n    h = sense.get_humidity()\n\n    # Round the values to one decimal place\n    t = round(t, 1)\n    p = round(p, 1)\n    h = round(h, 1)\n\u3000\u3000\u203b\uff0d\uff0d\uff0d\uff0d\uff0d\uff0d\u203b\u3000\u4e0b\u8a18\u53c2\u7167\n\n    # Create the message\n    # str() converts the value to a string so it can be concatenated\n    msg = &quot;Temperature = {0}, Pressure = {1}, Humidity = {2}&quot;.format(t,p,h)\n\n    # Display the scrolling message\n    sense.show_message(msg, scroll_speed=0.05)<\/code><\/pre><\/div>\n\n\n\n<p>\u56fd\u969b\u5b87\u5b99\u30b9\u30c6\u30fc\u30b7\u30e7\u30f3\u3067\u306f\u3001\u6c17\u6e29\u3067\u8a00\u3046\u3068\u300118.3\u2103\uff5e26.7\u2103\u306e\u9593\u3067\u74b0\u5883\u3092\u7dad\u6301\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<br><br>\u305d\u3053\u3067\u3001\u6b21\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u3001\u6c17\u6e29\u304c18.3\u5ea6\u4ee5\u4e0a\u300126.7\u5ea6\u4ee5\u4e0b\u306a\u3089\u3001\u80cc\u666f\u3092\u7dd1\u3001\u305d\u308c\u4ee5\u5916\u306f\u3001\u80cc\u666f\u3092\u8d64\u304f\u3057\u307e\u3059\uff08\u4e0a\u8a18<strong>\u203b\uff0d\uff0d\uff0d\uff0d\uff0d\uff0d\u203b\u306b\u4e0b\u8a18\u306eif\u6587\u304c\u5165\u3063\u3066\u3044\u307e\u3059<\/strong>\uff09\u3002<br><br>60\u723a\u306e\u74b0\u5883\u3067\u306f\u3001\u6c17\u6e29\u304c35.0\u5ea6\uff08Sense Hat\u3092\u305a\u3063\u3068\u304b\u3076\u305b\u3066\u3042\u308b\u306e\u3067\u6c17\u6e29\u304c\u9ad8\u304f\u306a\u3063\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff09\u3060\u3063\u305f\u305f\u3081\u3001\u80cc\u666f\u304c\u8d64\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>if t &gt; 18.3 and t &lt; 26.7:\n   bg = [0, 100, 0] # green\nelse:\n   bg = [100, 0, 0] # red<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"sensehat_1.mp4\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/i-8mIGehLKk?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u305f\u3060\u3001\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u306f\u3001\u6b21\u306e\u554f\u984c\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u30e1\u30c3\u30bb\u30fc\u30b8\u30b9\u30d4\u30fc\u30c9\u304c\u901f\u3044<\/li>\n\n\n\n<li>\u80cc\u666f\u304c\u8d64\u304f\u306660\u723a\u306e\u76ee\u306b\u75db\u3044<\/li>\n\n\n\n<li>\u6c17\u6e29\u4ed6\u306e\u898b\u51fa\u3057\u304c\u9577\u3044<\/li>\n\n\n\n<li>\u5168\u4f53\u3092\u30af\u30ea\u30a2\u3057\u3066\u3044\u306a\u3044\u306e\u3067\u3001\u4e2d\u65ad\u3059\u308b\u3068LED\u306b\u3001\u305d\u308c\u307e\u3067\u306e\u7d50\u679c\u304c\u6b8b\u308b<\/li>\n<\/ol>\n\n\n\n<p>\u305d\u3053\u3067\u3001\u6b21\u306e\u3088\u3046\u306b\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4fee\u6b63\u3057\u307e\u3057\u305f\u3002<br><br>\u305d\u308c\u3068\u3001\u2464\u5404\u6570\u5024\u306f\u3001\u5c0f\u6570\u70b9\u7b2c\u4e8c\u4f4d\u307e\u3067\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-python\" data-lang=\"Python\"><code>while True:\n    t = sense.get_temperature()\n    p = sense.get_pressure()\n    h = sense.get_humidity()\n\n    t = round(t, 2)\u3000\u3000\u2464\n    p = round(p, 2)\u3000\u3000\u2464\n    h = round(h, 2)\u3000\u3000\u2464\n\n    if t &gt; 18.3 and t &lt; 26.7:\n        bg = [100, 0, 0] # red\u3000\u3000\u3000\u3000\u2461\n    else:\n        bg = [0, 100, 0] # green\u3000\u3000\u3000\u3000\u2461\n\n    #     msg = &quot;Temperature = {0}, Pressure = {1}, Humidity - {2}&quot;.format(t, p, h)\n    msg = &quot;Temp = {0}, Pres = {1}, Humi = {2}&quot;.format(t, p, h)\u3000\u3000\u3000\u3000\u2462\n\n    #     sense.show_message(msg, scroll_speed=0.05, back_colour=bg)\n    sense.show_message(msg, scroll_speed=0.1, back_colour=bg)\u3000\u3000\u3000\u3000\u2460\n\n    sense.clear()\u3000\u3000\u3000\u3000\u2463\n    sleep(1)\u3000\u3000\u3000\u3000\u3000\u3000\u2463<\/code><\/pre><\/div>\n\n\n\n<p>\u4fee\u6b63\u3057\u305f\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u554f\u984c\u70b9\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u30e1\u30c3\u30bb\u30fc\u30b8\u30b9\u30d4\u30fc\u30c9\u304c\u5148\u307b\u3069\u3088\u308a\u9045\u304f\u306a\u3063\u305f<\/li>\n\n\n\n<li>\u80cc\u666f\u306f\u7dd1\u306b\u3057\u305f<\/li>\n\n\n\n<li>\u6c17\u6e29\u4ed6\u306e\u898b\u51fa\u3057\u306f\uff14\u6841\u306b\u306a\u3063\u305f<\/li>\n\n\n\n<li>\u6700\u5f8c\u306b\u5168\u4f53\u3092\u30af\u30ea\u30a2\uff08\uff11\u79d2\u9593\uff09\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4e2d\u65ad\u306f\u3001\u3053\u306e\u6642\u70b9\u3067\u884c\u3046<\/li>\n<\/ol>\n\n\n\n<!-- WP QUADS v. 2.0.98  Shortcode Ad -->\n<div class=\"quads-location quads-ad\" id=\"quads-ad\" style=\"float:none;margin:0px 0 0px 0;text-align:center;\">\n\u30b9\u30dd\u30f3\u30b5\u30fc\u30ea\u30f3\u30af\r\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-1169427325398969\"\r\n     crossorigin=\"anonymous\"><\/script>\r\n<!-- www_\u8a18\u4e8b\u4e2d\uff13 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:block\"\r\n     data-ad-client=\"ca-pub-1169427325398969\"\r\n     data-ad-slot=\"8208817721\"\r\n     data-ad-format=\"rectangle\"\r\n     data-full-width-responsive=\"true\"><\/ins>\r\n<script>\r\n     (adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script><br><\/div>\n\n\n\n\n<p>\u4ee5\u4e0b\u306b\u7d50\u679c\u3092\u52d5\u753b\u3067\u8f09\u305b\u307e\u3059\u306d\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"sensehat_2.mp4\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/eHlZwDmzhQw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>\u203bsense hat \u3067\u904a\u3076\u306e\u4e00\u3064\u524d\u3068\u6b21\u306e\u8a18\u4e8b\u3092\u7d39\u4ecb\u3057\u3066\u3044\u307e\u3059\u3002<br>\u21d2 previous:<strong><a href=\"https:\/\/www.mizutan.com\/wordpress\/?p=717\" target=\"_blank\" rel=\"noreferrer noopener\">sense hat\u306eLED\u30de\u30c8\u30ea\u30af\u30b9\u8868\u793a\u306e\u5411\u304d\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5<\/a><\/strong><br>\u21d2 next:<strong><a href=\"https:\/\/www.mizutan.com\/wordpress\/?p=1131\" target=\"_blank\" rel=\"noreferrer noopener\">sense hat\u3067\u6e2c\u5b9a\u3057\u305f\u6e29\u5ea6\u3068\u6e7f\u5ea6\u53ca\u3073\u6c17\u5727\u3092python\u3067\u30b0\u30e9\u30d5\u8868\u793a<\/a><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading is-style-vk-heading-double_black\">\u6700\u5f8c\u306b<\/h2>\n\n\n\n<p>\u4eca\u56de\u306f\u3001sense hat\u4e0a\u306b\u3042\u308b\u30bb\u30f3\u30b5\u30fc\u306b\u7740\u76ee\u3057\u307e\u3057\u305f\u3002Sense HAT\u306b\u306f\u3001\u5468\u56f2\u306e\u72b6\u6cc1\u3092\u691c\u51fa\u3059\u308b\u305f\u3081\u306e\u4e00\u9023\u306e\u74b0\u5883\u30bb\u30f3\u30b5\u30fc\uff08\u6c17\u5727\u3001\u6e29\u5ea6\u53ca\u3073\u6e7f\u5ea6\uff09\u304c\u3042\u308a\u307e\u3059\u3002<br><br>\u7c21\u5358\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3001\u305d\u308c\u3089\u306e\u5024\u3092\u691c\u51fa\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3057\u305f\u3002<br><br>\u305f\u3060\u3001\u6e29\u5ea6\u306f\u30e9\u30ba\u30d1\u30a4\u304c\u71b1\u3092\u767a\u3059\u308b\u306e\u3067\u3001\u5c11\u3005\u9ad8\u3044\u6e29\u5ea6\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3088\u3046\u3067\u3059\u306d\u3002<br><br>\u6700\u5f8c\u306b\u6e2c\u3063\u305f\u5185\u5bb9\u3092\u30c7\u30a3\u30b9\u30d7\u30ec\u30a4\u8868\u793a\u3057\u307e\u3057\u305f\u304c\u3001\u65e9\u304f\u6d41\u308c\u3059\u304e\u308b\u306e\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u4fee\u6b63\u3092\u304b\u3051\u3066\u898b\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u7c21\u5358\u306b\u5468\u56f2\u306e\u74b0\u5883\u3092\u8a08\u6e2c\u3067\u304d\u307e\u3059\u306d\u3002<\/p>\n\n\n\n<p>\u25a0\u300csense hat\u3067\u904a\u3076\uff01\u300d\u306e\u8a18\u4e8b\u306f\u6b21\u306e\u901a\u308a\u3067\u3059<\/p>\n\n\n\n<div class=\"blogcard\"><a href=\"https:\/\/www.mizutan.com\/wordpress\/?cat=348\" data-blogcard=\"1\"><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u203b\u30ea\u30cb\u30e5\u30fc\u30a2\u30eb\u3057\u307e\u3057\u305f\u30002018\/10\/9 \u4eca\u307e\u3067\u306f\u3001sense hat \u306e\uff2c\uff25\uff24\u3078\u306e\u8868\u793a\uff08sense hat\u306e\u53d6\u4ed8\u3051\u3068LED\u306b\u30c6\u30ad\u30b9\u30c8\u8868\u793a\u3092\u5b9f\u65bd\u3001sense hat\u306eLED\u30de\u30c8\u30ea\u30af\u30b9\u4e0a\u306b\u69d8\u3005\u306a\u30a4\u30e1\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u3001sen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":794,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[348],"tags":[],"class_list":["post-808","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sense_hat"],"_links":{"self":[{"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/808","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=808"}],"version-history":[{"count":19,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/808\/revisions"}],"predecessor-version":[{"id":36895,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/808\/revisions\/36895"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/794"}],"wp:attachment":[{"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=808"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=808"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mizutan.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=808"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}