Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jadonk
jadonk / calibrate.sh
Last active August 29, 2015 14:13 — forked from anonymous/calibrate.sh
#!/bin/sh
apt-get install xinput_calibrator
XAUTHORITY=~debian/.Xauthority DISPLAY=:0.0 xinput_calibrator
/*
IAP_Sensor_03 - added millis() timer
NOTES:
Consider using http://playground.arduino.cc/Code/Timer
This example connects to an unencrypted Wifi network.
Then it prints the MAC address of the Wifi BoosterPack / LaunchPad,
@jadonk
jadonk / CARD_0.html
Created August 21, 2014 15:21 — 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:
@jadonk
jadonk / CARD_0.html
Created August 9, 2014 16:41 — 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;">getPlatform([callback])</h1><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>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, Verdana, sans-serif; font-size: 12px;"><li><em>name</em>: name of the board</li><li><em>serialNumber</em>: serial number of the board</li><li><em>version</em>: revision of the board</li><li><em>bonescript</em>: verison of bonescript</li></ul><h2 style="font-size: 1.5em; font-family: Arial, Verdana, Helvetica, sans-s
@jadonk
jadonk / CARD_0.html
Created August 6, 2014 17:35 — 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;">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&nbsp;<a href="http://beagleboard.org/Support/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: Arial,
@jadonk
jadonk / CARD_0.html
Created July 31, 2014 15:19 — 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;">
<html>
<header>
<script src="http://wavedrom.googlecode.com/svn/trunk/skins/default.js"></script>
<script src="http://wavedrom.googlecode.com/svn/trunk/WaveDrom.js"></script>
</header>
<body onload="WaveDrom.ProcessAll()">
<h2>WaveDrom Example</h2>
WaveDrom timing diagrams can be embedded into the web pages, blogs, wiki pages: