UNPKG

iot-sol

Version:

Intel(r) IoT Services Orchestration Layer - HTML5 IDE + Node.js middleware to create and host distributed IoT Apps in minutes

72 lines (71 loc) 2.64 kB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="generator" content="pandoc" /> <title></title> <style type="text/css">code{white-space: pre;}</style> <link rel="stylesheet" href="styles/style.css" type="text/css" /> </head> <body> <div id="TOC"> <ul> <li><a href="#servo">Servo</a><ul> <li><a href="#set">set</a><ul> <li><a href="#description">Description</a></li> <li><a href="#config">Config</a></li> <li><a href="#input">Input</a></li> <li><a href="#output">Output</a></li> <li><a href="#example">Example</a></li> </ul></li> <li><a href="#stop">stop</a><ul> <li><a href="#description-1">Description</a></li> <li><a href="#config-1">Config</a></li> <li><a href="#input-1">Input</a></li> <li><a href="#output-1">Output</a></li> <li><a href="#example-1">Example</a></li> </ul></li> <li><a href="#sweep">sweep</a><ul> <li><a href="#description-2">Description</a></li> <li><a href="#config-2">Config</a></li> <li><a href="#input-2">Input</a></li> <li><a href="#output-2">Output</a></li> <li><a href="#example-2">Example</a></li> </ul></li> </ul></li> </ul> </div> <h1 id="servo">Servo</h1> <h2 id="set">set</h2> <h3 id="description">Description</h3> <p>Let servo to rotate to some certain degree</p> <h3 id="config">Config</h3> <p><code>pin</code>: int. the PWM pin which is attached by the servo</p> <h3 id="input">Input</h3> <p><code>angle</code>: int. the rotate angle (0-180)</p> <h3 id="output">Output</h3> <p><code>status</code>: boolean. if succeeds, output true.</p> <h3 id="example">Example</h3> <h2 id="stop">stop</h2> <h3 id="description-1">Description</h3> <p>Let servo stop sweeping</p> <h3 id="config-1">Config</h3> <p><code>pin</code>: int. the PWM pin which is attached by the servo</p> <h3 id="input-1">Input</h3> <p><code>trigger</code>: Any. Whenever it comes, stop the servo.</p> <h3 id="output-1">Output</h3> <p><code>status</code>: boolean. if succeeds, output true.</p> <h3 id="example-1">Example</h3> <h2 id="sweep">sweep</h2> <h3 id="description-2">Description</h3> <p>Let servo start sweeping</p> <h3 id="config-2">Config</h3> <p><code>pin</code>: int. the PWM pin which is attached by the servo</p> <h3 id="input-2">Input</h3> <p><code>trigger</code>: Any. Whenever it comes, sweep the servo.</p> <h3 id="output-2">Output</h3> <p><code>status</code>: boolean. if succeeds, output true.</p> <h3 id="example-2">Example</h3> </body> </html>