UNPKG

iot-sol

Version:

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

60 lines (57 loc) 2.36 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="#lcd-with-keyboard">LCD with keyboard</a><ul> <li><a href="#lcd_display">lcd_display</a><ul> <li><a href="#description">Description</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="#button">button</a><ul> <li><a href="#description-1">Description</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> </ul></li> </ul> </div> <h1 id="lcd-with-keyboard">LCD with keyboard</h1> <h2 id="lcd_display">lcd_display</h2> <h3 id="description">Description</h3> <p>display words in the LCD</p> <h3 id="input">Input</h3> <p><code>content</code>: string. the string content which will be showed in the screen</p> <h3 id="output">Output</h3> <p><code>status</code>: boolean. If succeeds, output true, otherwise, false.</p> <h3 id="example">Example</h3> <div class="figure"> <img src="./pic/lcddisplay.jpg" /> </div> <p>the default value of content is &quot;helloworld&quot;, and the screen will show &quot;helloworld&quot; after starting.</p> <h2 id="button">button</h2> <h3 id="description-1">Description</h3> <p>5 buttons in the kerboard: left,right,up,down,select</p> <p>It will be ignored if you pressed multiple buttons in the same time</p> <h3 id="input-1">Input</h3> <p><code>trigger</code>: Any type. It is a trigger signal, and whenever it comes, the service will check whether the button is pressed.</p> <h3 id="output-1">Output</h3> <p><code>bool</code>: boolean. true means the button is pressed.</p> <h3 id="example-1">Example</h3> <div class="figure"> <img src="./pic/lcdbutton.jpg" /> </div> <p>Check which button is pressed in every 0.5s, left or right. And show the button name in the LCD screen.</p> </body> </html>