led.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <html>
  2. <head>
  3. <title>LED</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1><img align="center" src="../../../../en/icons/led.gif" width="32" height="32">
  7. <em>LED</em></h1>
  8. <p><table>
  9. <tr><td><strong>Library:</strong></td>
  10. <td><a href="index.html">Input/Output</a></td></tr>
  11. <tr><td><strong>Introduced:</strong></td>
  12. <td>2.1.3</td></tr>
  13. <tr><td valign="top"><strong>Appearance:</strong></td>
  14. <td valign="top"><img src="../../../../en/img-libs/led.png" width="21" height="20"></td></tr>
  15. </table></p>
  16. <h2>Behavior</h2>
  17. <p>Displays the value of its input by coloring the LED (as specified
  18. by its Color attribute) or not depending on whether the input is 1 or 0.</p>
  19. <p>(The LED component is basically redundant with an output pin, except
  20. for a somewhat different appearance. Some users, though, thought it would
  21. be nice to include.)</p>
  22. <h2>Pins</h2>
  23. <p>A LED has only one pin, a 1-bit input which is used to determine whether
  24. to display the LED colored (when the input is 1) or darkened (when the input
  25. is anything else).</p>
  26. <h2>Attributes</h2>
  27. <p>When the component is selected or being added,
  28. the arrow keys alter its <q>Facing</q> attribute.</p>
  29. <dl>
  30. <dt>Facing</dt>
  31. <dd>The location of the input pin relative to the component.</dd>
  32. <dt>Color</dt>
  33. <dd>The color to display when the input value is 1.</dd>
  34. <dt>Active On High?</dt>
  35. <dd>If <q>yes</q>, then the LED is colored when the input is 1.
  36. If <q>no</q>, it is colored when the input is 0.</dd>
  37. <dt>Label</dt>
  38. <dd>The text within the label associated with the component.</dd>
  39. <dt>Label Location</dt>
  40. <dd>The location of the label relative to the component.</dd>
  41. <dt>Label Font</dt>
  42. <dd>The font with which to render the label.</dd>
  43. <dt>Label Color</dt>
  44. <dd>The color with which to draw the label.</dd>
  45. </dl>
  46. <h2>Poke Tool Behavior</h2>
  47. <p>None.</p>
  48. <h2>Text Tool Behavior</h2>
  49. <p>Allows the label associated with the component to be edited.</p>
  50. <p><a href="../index.html">Back to <em>Library Reference</em></a></p>
  51. </body>
  52. </html>