Skip to content

Instantly share code, notes, and snippets.

@Dicetog
Dicetog / autosave.json
Last active August 29, 2015 14:04
BONELIST
{"0":{"id":"THISISTHEFIRSTIDYOUWOULDNTUSE"},"1":{"id":"30198369b1261678448e"},"2":{"id":"f9b3320ab38fd6882d21"}}
@Dicetog
Dicetog / CARD_0.html
Created August 2, 2014 15:23 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); margin: 5px 0px; line-height: normal;">Build and execute instructions</h2><div><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><li>Connect the cathode side of the LED with a 470 ohm resistor in series, then to ground.</li><li>Connect the anode side of the LED to 'P8_13.'</li><li>Connect one side of the push-button to P'9_3' and the other to 'P8_19.'</li><li>Run the example code. If the push button is pressed, it will turn the LED on</li></ul></div><div><span style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><img src="http://beagleboard.org/static/uploads/pushbutton.PNG" style="width: 403px;"><br></span></div>
@Dicetog
Dicetog / CARD_0.html
Created August 6, 2014 08:40
Bone101 Tutorial
<h1 style="font-size: 2em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); line-height: normal;">getPinMode(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;">Get the mode of a 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&nbsp;<a href="http://beagleboard.org/Support/BoneScript/getPinMode/bonescript#pin" style="color: rgb(222, 114, 36);">BeagleBone pin</a>&nbsp;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: Ar
@Dicetog
Dicetog / CARD_0.html
Created August 9, 2014 04:22 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<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:
@Dicetog
Dicetog / CARD_0.html
Created August 9, 2014 04:29 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<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:
@Dicetog
Dicetog / CARD_0.html
Created August 9, 2014 04:30 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<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:
@Dicetog
Dicetog / CARD_0.html
Created August 10, 2014 18:16 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); margin: 5px 0px; line-height: normal;">Build and execute instructions</h2><div><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><li>Connect the cathode side of the LED with a 470 ohm resistor in series, then to ground.</li><li>Connect the anode side of the LED to 'P8_13.'</li><li>Connect one side of the push-button to P'9_3' and the other to 'P8_19.'</li><li>Run the example code. If the push button is pressed, it will turn the LED on</li></ul></div><div><span style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><img src="http://beagleboard.org/static/uploads/pushbutton.PNG" style="width: 403px;"><br></span></div>
@Dicetog
Dicetog / CARD_0.html
Created August 10, 2014 18:28 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); margin: 5px 0px; line-height: normal;">Build and execute instructions</h2><div><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><li>Connect the cathode side of the LED with a 470 ohm resistor in series, then to ground.</li><li>Connect the anode side of the LED to 'P8_13.'</li><li>Connect one side of the push-button to P'9_3' and the other to 'P8_19.'</li><li>Run the example code. If the push button is pressed, it will turn the LED on</li></ul></div><div><span style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;"><img src="http://beagleboard.org/static/uploads/pushbutton.PNG" style="width: 403px;"><br></span></div>
@Dicetog
Dicetog / CARD_0.html
Created August 10, 2014 18:32 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<p>
</p>
<table class="table table-bordered">
<tbody>
<tr>
<td><span style="font-family: Arial;">
Beagle Bone Black
</span></td>
<td>
<img src="https://learn.adafruit.com/system/assets/assets/000/009/103/medium800/beaglebone_BBB.jpg?1396883195" style="width: 119.25px; height: 72.546875px;">
@Dicetog
Dicetog / CARD_0.html
Created August 10, 2014 18:36 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<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: