{"id":210,"date":"2023-08-30T19:35:58","date_gmt":"2023-08-30T10:35:58","guid":{"rendered":"https:\/\/www.aqua-informatics.jp\/?p=210"},"modified":"2023-09-06T16:05:46","modified_gmt":"2023-09-06T07:05:46","slug":"%e6%b5%9c%e6%9d%be%e3%83%9b%e3%83%88%e3%83%8b%e3%82%af%e3%82%b9c12880ma%e3%82%92raspberry-pi-pico%e3%80%81micropython%e3%81%a7%e4%bd%bf%e3%81%86","status":"publish","type":"post","link":"https:\/\/www.aqua-informatics.jp\/?p=210","title":{"rendered":"\u6d5c\u677e\u30db\u30c8\u30cb\u30af\u30b9c12880ma\u3092Raspberry Pi Pico\u3001MicroPython\u3067\u4f7f\u3046(1)"},"content":{"rendered":"\n<p>PIO\u3092\u4f7f\u3063\u3066\u4efb\u610f\u306e\u30af\u30ed\u30c3\u30af\u3092\u767a\u751f\u3055\u305b\u3001\u6b63\u78ba\u306a\u84c4\u7a4d\u6642\u9593\u3067\u7a4d\u7b97\u3059\u308b\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>def pulse():\n    \n    #\n    # One cycle is 8 clocks.\n    # Set ST signal to Sideset.\n    #\n    \n    pull()\n    mov(y, osr)\n    pull()\n    mov(x, osr)\n     \n    label(&#39;accumulation&#39;)\n    set(pins, 0).side(1) [1]\n    set(pins, 1)\n    jmp(y_dec, &#39;accumulation&#39;) \n   \n    # 88 Pulse Generation\n    \n    label(&#39;loop&#39;)    \n    set(pins, 0).side(0) [1]\n    set(pins, 1)\n    jmp(x_dec, &#39;loop&#39;)\n    set(pins, 0)<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>PIO\u3092\u4f7f\u3063\u3066\u4efb\u610f\u306e\u30af\u30ed\u30c3\u30af\u3092\u767a\u751f\u3055\u305b\u3001\u6b63\u78ba\u306a\u84c4\u7a4d\u6642\u9593\u3067\u7a4d\u7b97\u3059\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":90,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_vk_print_noindex":"","sitemap_hide":"","_veu_custom_css":"","veu_display_promotion_alert":"","vkexunit_cta_each_option":"","_lightning_design_setting":{"layout":"default"},"footnotes":""},"categories":[8,5],"tags":[],"class_list":["post-210","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-5"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=\/wp\/v2\/posts\/210","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=210"}],"version-history":[{"count":12,"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=\/wp\/v2\/posts\/210\/revisions"}],"predecessor-version":[{"id":319,"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=\/wp\/v2\/posts\/210\/revisions\/319"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=\/wp\/v2\/media\/90"}],"wp:attachment":[{"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=210"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=210"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aqua-informatics.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=210"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}