Skip to content

Instantly share code, notes, and snippets.

@Dicetog
Dicetog / CARD_0.html
Last active August 29, 2015 14:05 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<h1 style="font-size: 2em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); line-height: normal;">analogRead(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 voltage at an analog input 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/#pin" style="color: rgb(222, 114, 36);">pin identifier</a></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, Helvetica, Ver
@Dicetog
Dicetog / CARD_0.html
Last active August 29, 2015 14:05 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<h1 style="font-size: 2em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); line-height: normal;">analogRead(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 voltage at an analog input 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/#pin" style="color: rgb(222, 114, 36);">pin identifier</a></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, Helvetica, Ver
@Dicetog
Dicetog / CARD_0.html
Created August 11, 2014 14:01
Bone101 Tutorial
This card comes here.
@Dicetog
Dicetog / CARD_0.html
Created August 11, 2014 13:59
Bone101 Tutorial
One more card to add
@Dicetog
Dicetog / CARD_0.html
Created August 11, 2014 13:50
Bone101 Tutorial
More cards
@Dicetog
Dicetog / CARD_0.html
Created August 11, 2014 03:53 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<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>
@Dicetog
Dicetog / CARD_0.html
Created August 11, 2014 03:53 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<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>
@Dicetog
Dicetog / CARD_0.html
Created August 11, 2014 03:43 — forked from DiegoTc/CARD_0.html
Bone101 Tutorial
<h1 style="font-size: 2em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); line-height: normal;">Demo: Maxbotic Ultrasonic Sensor</h1><p style="font-size: 1.1em; line-height: 1.3em; color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif;">The&nbsp;<a href="http://www.maxbotix.com/Ultrasonic_Sensors/MB1020.htm" style="color: rgb(222, 114, 36);">LV-MaxSonar-EZ2 High Performance Sonar Range Finder</a>&nbsp;provides very short to long-range detection and ranging, in an incredibly small package. The sonar detects objects from 0-254 inches and provides sonar range information from 6-inches out to 254-inches with 1-inch resolution.</p><i style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px;">Note: Each time after the Sonar is powered up, it will calibrate during its first read cycle. The sensor uses this stored information to range a near object. It is important that objects not be close to the sensor during this calibra
@Dicetog
Dicetog / CARD_0.html
Created August 11, 2014 02:49
Bone101 Tutorial
<h1 style="font-size: 2em; font-family: Arial, Verdana, Helvetica, sans-serif; color: rgb(180, 162, 121); font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">writeTextFile(filename, data, [callback])</h1><p style="font-size: 1.1em; line-height: 1.3em; color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Write the contents of a text (ASCII) file.</p><h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-serif; font-weight: normal; color: rgb(180, 162, 121); mar
@Dicetog
Dicetog / CARD_0.html
Created August 11, 2014 02:39
Bone101 Tutorial
<p style="font-size: 1.1em; line-height: 1.3em; color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Read the contents of a text (ASCII) file.</p><h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-serif; font-weight: normal; color: rgb(180, 162, 121); margin: 5px 0px; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255);">Arguments</h2><ul style="color: rgb(82, 82, 82); font-family: Arial, Helvetica, Verdana, sans-serif; font-size: 12px; font-style: normal; f