<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kokekome</author_name>
  <author_url>https://blog.hatena.ne.jp/kokekome/</author_url>
  <blog_title>kokekomeのハードウェアな日記？</blog_title>
  <blog_url>https://kokekome.hatenadiary.org/</blog_url>
  <categories>
    <anon>YACL</anon>
  </categories>
  <description>よく考えてみると255階調(254までしかカウントしてない)だったので、8ビットのソフトウェアカウンタで255まで数える方法を考えてみた。 C言語編 for(uint8_t i=0;i&lt;255;i++) //こういう風に宣言できないので実際には動かない↑これだとi=254までしかループ内が回らない Cでやる方法 for(uint8_t i=0;;i++) //こういう風に宣言できないので実際には動かない { ループ内処理 if(i==255)break; }これだとちゃんと255までループ内処理が回る。Whileだと uint8_t i=0; while(1) { ループ内処理 if(i==2…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkokekome.hatenadiary.org%2Fentry%2F20070114%2F1168775135&quot; title=&quot;8ビットカウンタ - kokekomeのハードウェアな日記？&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>2007-01-14 20:45:35</published>
  <title>8ビットカウンタ</title>
  <type>rich</type>
  <url>https://kokekome.hatenadiary.org/entry/20070114/1168775135</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
