<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yamanonono</author_name>
  <author_url>https://blog.hatena.ne.jp/yamanonono/</author_url>
  <blog_title>m5stackで組込み！！</blog_title>
  <blog_url>https://m5stack-build.hatenablog.com/</blog_url>
  <categories>
    <anon>M5stack</anon>
    <anon>サンプルコード</anon>
  </categories>
  <description>今回は充電状態を表示をしてみましょう。 初期化 充電状態を取得するAPI サンプルコード 初期化 初期化に関しては前々回の電池残量を表示したときの記事を参考にしてください。 m5stack-build.hatenablog.com 充電状態を取得するAPI 充電状態を取得する関数はこちらです。戻り値にtrueが返ってきたら充電中です。 M5.Power.isCharging(); サンプルコード #include &lt;M5Stack.h&gt; #define STS_OFF 0 #define STS_ON 1 static unsigned char gucChargingSts = STS_OF…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm5stack-build.hatenablog.com%2Fentry%2F2019%2F10%2F10%2F222405&quot; title=&quot;充電状態の表示 - m5stackで組込み！！&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>2019-10-10 22:24:05</published>
  <title>充電状態の表示</title>
  <type>rich</type>
  <url>https://m5stack-build.hatenablog.com/entry/2019/10/10/222405</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
