<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayokoyama</author_name>
  <author_url>https://blog.hatena.ne.jp/ayokoyama/</author_url>
  <blog_title>私の二次記憶</blog_title>
  <blog_url>https://ayokoyama.hatenadiary.org/</blog_url>
  <categories>
    <anon>electronics</anon>
  </categories>
  <description>昨日、実は PIC で例の工作の続きをやってました。しかし、双方向 I/O のところでハマり、結局寝てしまいました。 そちらは単純なプログラムミスだと思われるのですが、PIC の双方向 I/O って、ビット操作命令と組み合わせて利用するときに注意が必要のようです。ある複数の双方向ポートビットに対して予め出力用ラッチを 0 に固定してから、その後でモードを write に切り替えたくても、ポートが入力モードだと出力用ラッチは読み出せないので、1ビット単位で操作する BSF や BCF では複数の出力用ラッチを 0 に固定できないことがあります。例えば複数のポートビットが外部でプルアップされている…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayokoyama.hatenadiary.org%2Fentry%2F20080801%2Fp2&quot; title=&quot; PIC I/O の注意点 - 私の二次記憶&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2008-08-01 00:00:00</published>
  <title> PIC I/O の注意点</title>
  <type>rich</type>
  <url>https://ayokoyama.hatenadiary.org/entry/20080801/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
