<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>licheng</author_name>
  <author_url>https://blog.hatena.ne.jp/licheng/</author_url>
  <blog_title>滴了庵日録</blog_title>
  <blog_url>https://lipoyang.hatenablog.com/</blog_url>
  <categories>
    <anon>組み込み系</anon>
  </categories>
  <description>BLE Nanoをmbedで使う場合、シリアルポート(TXD=D1, RXD=D0)を使うとD2とD3のポートが機能しなくなるという不具合があります。たとえば、D3にLEDをとりつけて下記のプログラムを実行するとLEDが点滅するはずですが、実際には点滅してくれません。 #include &quot;mbed.h&quot; Serial pc(USBTX, USBRX); // USBTX == D1, USBRX == D0 DigitalOut led(D3); int main(void) { pc.baud(115200); led = 0; while (true) { pc.printf(&quot;hoge\…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flipoyang.hatenablog.com%2Fentry%2F20160624%2Fp1&quot; title=&quot;BLE NanoのSerialクラスのバグ回避 - 滴了庵日録&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>2016-06-24 00:00:00</published>
  <title>BLE NanoのSerialクラスのバグ回避</title>
  <type>rich</type>
  <url>https://lipoyang.hatenablog.com/entry/20160624/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
