This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span style="color: rgb(51, 51, 51); font-family: 'Gotham SSm A', 'Gotham SSm B'; font-size: 30px; line-height: 30px;">Overview<br></span><span style="color: rgb(51, 51, 51); font-family: 'Gotham SSm A', 'Gotham SSm B'; font-size: 14px; line-height: 20px;">In this tutorial, you will learn how to control the color of an RGB LED using a BeagleBone Black (BBB).<br></span><span style="color: rgb(51, 51, 51); font-family: 'Gotham SSm A', 'Gotham SSm B'; font-size: 30px; line-height: 30px;"><img src="https://learn.adafruit.com/system/assets/assets/000/009/503/medium800/beaglebone_overview_web.jpg?1396892026" style="width: 403px;"><br></span><span style="color: rgb(51, 51, 51); font-family: 'Gotham SSm A', 'Gotham SSm B'; font-size: 14px; line-height: 20px;">Because the BBB runs Linux, there are many ways in which it can be programmed. In this tutorial we show how to control the power output of a GPIO pin and hence control the color of an RGB LED using Python.</span><span style="color: rgb(51, 51, 51); font-family: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3> | |
Build and execute instructions</h3><div><img src="http://beagleboard.org/static/uploads/LEDs.PNG" style="width: 337px;"><br></div><div><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><li>Run the example code of the next card and observe USR3 blinking.</li><li>Alter the frequency and re-run the example.</li></ul></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3> | |
Build and execute instructions</h3><div><img src="http://beagleboard.org/static/uploads/LEDs.PNG" style="width: 337px;"><br></div><div><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><li>Run the example code of the next card and observe USR3 blinking.</li><li>Alter the frequency and re-run the example.</li></ul></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3> | |
Build and execute instructions</h3><div><img src="http://beagleboard.org/static/uploads/LEDs.PNG" style="width: 337px;"><br></div><div><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><li>Run the example code of the next card and observe USR3 blinking.</li><li>Alter the frequency and re-run the example.</li></ul></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3> | |
Build and execute instructions</h3><div><img src="http://beagleboard.org/static/uploads/LEDs.PNG" style="width: 337px;"><br></div><div><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><li>Run the example code of the next card and observe USR3 blinking.</li><li>Alter the frequency and re-run the example.</li></ul></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3> | |
Build and execute instructions</h3><div><img src="http://beagleboard.org/static/uploads/LEDs.PNG" style="width: 337px;"><br></div><div><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><li>Run the example code of the next card and observe USR3 blinking.</li><li>Alter the frequency and re-run the example.</li></ul></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1 style="font-size: 2em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); line-height: normal;">digitalRead(pin, [callback])</h1><p style="font-size: 1.1em; line-height: 1.3em; color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif;">Read the status of a digital I/O pin.</p><h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); margin: 5px 0px; line-height: normal;">Arguments</h2><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><li><em>pin</em>: the <a href="http://beagleboard.org/Support/BoneScript/#pin" style="color: rgb(222, 114, 36);">BeagleBone pin</a> identifier</li><li><em>callback</em>: called upon completion</li></ul><h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); margin: 5px 0px; line-height: normal;">Return value</h2><ul style="color: rgb(82, 82, 82); font-family: Arial, |