This website is available for multi language.

ioAnimation

io animation is hardware acceleration for serial sequence change of io. now 'loop' animation is available. it loop io changes regarding json array.

request: init

path type conditions description
io.animation.name string
  • required
  • 1 ≤ length ≤ 254
Animation name to use pause/resume 
io.animation.repeat integer
  • default undefined
  • 1 ≤ length ≤ 4294967295
The limitation number of transitions of states 
io.animation.status string
  • required
  • enum
    • "loop"
    • "registrate"
 
io.animation.states[].duration integer
  • required
  • 0 ≤ value ≤ 60000
State duration time(ms) 
io.animation.states[].state object,array   io/pwm commands. 
// Json Example
[
    {
        "io": {
            "animation": {
                "name": "animation-1",
                "status": "loop",
                "states": [
                    {
                        "duration": 500,
                        "state": {
                            "io0": true
                        }
                    },
                    {
                        "duration": 500,
                        "state": {
                            "io0": false
                        }
                    }
                ]
            }
        }
    }
]

request: changeState

path type conditions description
io.animation.name string
  • required
  • 1 ≤ length ≤ 254
 
io.animation.status string
  • required
  • enum
    • "pause"
    • "resume"
 
// Json Example
[
    {
        "io": {
            "animation": {
                "name": "animation-1",
                "status": "pause"
            }
        }
    }
]

response: notify

path type conditions description
io.animation.name string
  • required
  • 1 ≤ length ≤ 254
animation name which is finished 
io.animation.status string
  • required
  • const "finish"
status of an registrated animation 
//Response Example
[
    {
        "io": {
            "animation": {
                "name": "animation-1",
                "status": "finish"
            }
        }
    }
]

最短で翌日に届きます

obniz BoardはAmazonや公式ストアから購入できます。最短で当日出荷いたします。
取り扱い店舗はこちらから。

製品紹介

フォーラム

obnizフォーラムでは、obnizユーザー同士で意見交換することができます。
疑問・質問もお気軽にどうぞ。

フォーラム

お問い合わせ

製品・サービスに関するお問い合わせや、導入・開発のご相談など、お気軽にお問い合わせください。

お問い合わせフォーム