Skip to content

Commit

Permalink
Merge pull request tessel#7 from tessel/kb-fixes
Browse files Browse the repository at this point in the history
correct fork on gh link
  • Loading branch information
Frijol committed Jun 22, 2015
2 parents 5e766e6 + 7df7eda commit 9a38989
Show file tree
Hide file tree
Showing 43 changed files with 89 additions and 87 deletions.
10 changes: 5 additions & 5 deletions blinky.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ <h1>Hello, (Physical) World!</h1>
Tessel code, change directory into that folder, and
then initialize <a href=
"https://www.npmjs.org/">npm</a> in that
folder:</p><code><kbd>mkdir tessel-code</kbd><kbd>cd
tessel-code</kbd><kbd>npm init -y</kbd></code>
folder:</p><code><kbd>mkdir tessel-code</kbd><br/><kbd>cd
tessel-code</kbd><br/><kbd>npm init -y</kbd></code>
<p>You can press enter at each option within npm init
to accept npm's defaults.</p>
<p>Great! Now you're set up to run code on
Expand Down Expand Up @@ -353,7 +353,7 @@ <h1>Hello, (Physical) World!</h1>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down Expand Up @@ -382,9 +382,9 @@ <h1>Hello, (Physical) World!</h1>
</section>
</footer>
<script src="http://include.reinvigorate.net/re_.js">
</script>
</script>
<script src="javascripts/reinvigorate.js">
</script>
</script>
<script>
$(document).foundation();
</script>
Expand Down
6 changes: 3 additions & 3 deletions cmd.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ <h3 id="text-editor">Text Editors</h3>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down Expand Up @@ -519,9 +519,9 @@ <h3 id="text-editor">Text Editors</h3>
</section>
</footer>
<script src="http://include.reinvigorate.net/re_.js">
</script>
</script>
<script src="javascripts/reinvigorate.js">
</script>
</script>
<script>
$(document).foundation();
</script>
Expand Down
8 changes: 4 additions & 4 deletions finished.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ <h1>Congratulations!<br>
"0"><b>Check out</b> Tessel projects →</a></p>
<p><a href="http://technical.io/docs" target=
"0"><b>Learn more</b> on Tessel's docs page →</a></p>
<p><a href="////github.com/tessel/contribution-guide"
<p><a href="//github.com/tessel/project"
target="2"><b>Contribute</b> to Tessel's open source
codebase →</a></p>
<p><a href="http://twitter.com/technicalhumans"
Expand Down Expand Up @@ -325,7 +325,7 @@ <h1>Congratulations!<br>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down Expand Up @@ -354,9 +354,9 @@ <h1>Congratulations!<br>
</section>
</footer>
<script src="http://include.reinvigorate.net/re_.js">
</script>
</script>
<script src="javascripts/reinvigorate.js">
</script>
</script>
<script>
$(document).foundation();
</script>
Expand Down
10 changes: 5 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ <h1><a href="https://tessel.io/"><nobr><img src=
<div class="row">
<div id="anchor" class="large-12 columns fre-container">
<h1>Install Tessel</h1>
<p>New to the command line?<a href="cmd.html">Take a step
<p>New to the command line? <a href="cmd.html">Take a step
back and learn the basics.</a></p>
<p>Select the operating system you are working on.</p>
<dl id="install-tabs" data-tab="" class=
Expand Down Expand Up @@ -372,7 +372,7 @@ <h1>Install Tessel</h1>
<div class="large-12 columns fre-container">
<h3 id="firmware">Update Tessel's Firmware</h3>
<p>Plug Tessel into your computer via USB. In the command
line, run<code><kbd>tessel update</kbd></code></p>
line, run <code><kbd>tessel update</kbd></code></p>
<p>The lights should blink yellow and red during the
firmware upload.</p>
<p>Once the firmware update is complete, continue to the
Expand All @@ -399,7 +399,7 @@ <h3 id="firmware">Update Tessel's Firmware</h3>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down Expand Up @@ -428,9 +428,9 @@ <h3 id="firmware">Update Tessel's Firmware</h3>
</section>
</footer>
<script src="http://include.reinvigorate.net/re_.js">
</script>
</script>
<script src="javascripts/reinvigorate.js">
</script>
</script>
<script>
$(document).foundation();
</script>
Expand Down
2 changes: 1 addition & 1 deletion ja/blinky.html
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ <h1>こんにちは、(物理)世界!</h1>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/finished.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h1>おめでとうございます!<br>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ <h3 id="firmware">ファームウェアのアップデート</h3>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ <h2>使いたいモジュールはどれですか?試してみましょう!<
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/modules/accelerometer.html
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/modules/ambient.html
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/modules/audio.html
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/modules/ble.html
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/modules/camera.html
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/modules/climate.html
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ja/modules/gprs.html
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ <h2 class="leftalign moduleTitle"><span style=
var message = 'Text from a Tessel!';

// Port, callback
var gprs = gprslib.use(hardware);
var gprs = gprslib.use(hardware);
gprs.on('ready', function() {
console.log('GPRS module connected to Tessel. Searching for network...')
// Give it 10 more seconds to connect to the network, then try to send an SMS
Expand Down Expand Up @@ -748,7 +748,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ja/modules/gps.html
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ <h2 class="leftalign moduleTitle"><span style=

// GPS uses software UART, which is only available on Port C
// we use Port C because it is port most isolated from RF noise
var gps = gpsLib.use(tessel.port['C']);
var gps = gpsLib.use(tessel.port['C']);

// Wait until the module is connected
gps.on('ready', function () {
Expand Down Expand Up @@ -634,7 +634,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions ja/modules/ir.html
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ <h2 class="leftalign moduleTitle"><span style=

var tessel = require('tessel');
var infraredlib = require('ir-attx4');
var infrared = infraredlib.use(tessel.port['A']);
var infrared = infraredlib.use(tessel.port['A']);

// When we're connected
infrared.on('ready', function() {
Expand All @@ -438,7 +438,7 @@ <h2 class="leftalign moduleTitle"><span style=
// Start sending a signal every three seconds
setInterval(function() {
// Make a buffer of on/off durations (each duration is 16 bits)
var powerBuffer = new Buffer([0x22,0xc4,0xee,0xd0,0x2,0x58,0xfe,0xc,0x2,0x8a,0xf9,0xf2,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xf9,0xc0,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xf9,0xc0,0x2,0x8a,0xf9,0xf2,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xf9,0xc0,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xf9,0xc0,0x2,0x58,0xf9,0xc0,0x2,0x58]);
var powerBuffer = new Buffer([0x22,0xc4,0xee,0xd0,0x2,0x58,0xfe,0xc,0x2,0x8a,0xf9,0xf2,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xf9,0xc0,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xf9,0xc0,0x2,0x8a,0xf9,0xf2,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xfe,0x3e,0x2,0x8a,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xfe,0xc,0x2,0x58,0xf9,0xc0,0x2,0x8a,0xf9,0xc0,0x2,0x58,0xf9,0xc0,0x2,0x58,0xf9,0xc0,0x2,0x58]);
// Send the signal at 38 kHz
infrared.sendRawSignal(38, powerBuffer, function(err) {
if (err) {
Expand Down Expand Up @@ -638,7 +638,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/modules/microsd.html
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions ja/modules/nrf.html
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,8 @@ <h2 class="leftalign moduleTitle"><span style=
});
} else {
console.log("PONG back");
var rx = nrf.openPipe('rx', pipes[0], {size: 4});
tx = nrf.openPipe('tx', pipes[1], {autoAck: false});
var rx = nrf.openPipe('rx', pipes[0], {size: 4});
tx = nrf.openPipe('tx', pipes[1], {autoAck: false});
rx.on('data', function (d) {
console.log("Got data, will respond", d);
tx.write(d);
Expand Down Expand Up @@ -666,7 +666,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ja/modules/relay.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ <h2 class="leftalign moduleTitle"><span style=
var tessel = require('tessel');
var relaylib = require('relay-mono');

var relay = relaylib.use(tessel.port['A']);
var relay = relaylib.use(tessel.port['A']);

// Wait for the module to connect
relay.on('ready', function relayReady () {
Expand Down Expand Up @@ -653,7 +653,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions ja/modules/rfid.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ <h2 class="leftalign moduleTitle"><span style=
var tessel = require('tessel');
var rfidlib = require('rfid-pn532');

var rfid = rfidlib.use(tessel.port['A']);
var rfid = rfidlib.use(tessel.port['A']);

rfid.on('ready', function (version) {
console.log('Ready to read RFID card');
Expand Down Expand Up @@ -623,7 +623,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/modules/servo.html
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ <h2>他のモジュールを試す</h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/tweet.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ <h1>Tesselではじめてのツイート</h1>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ja/usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ <h2><code>tessel erase</code></h2>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions ja/wifi.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ <h1>Tesselを無線LANに接続する</h1>
console.log('http request #' + (count++))
http.get("http://httpstat.us/" + statusCode, function (res) {
console.log('# statusCode', res.statusCode)

var bufs = [];
res.on('data', function (data) {
bufs.push(new Buffer(data));
Expand Down Expand Up @@ -422,7 +422,7 @@ <h1>Tesselを無線LANに接続する</h1>
* このライブラリはTesselのファームウェアに組み込まれているので、
* npm installする必要はありません。
* これは、require('tessel')でも同様です。
*/
*/
var wifi = require('wifi-cc3000');
var network = '#####'; // ネットワーク名を入れてください。
var pass = '#####'; // パスワードを入れてください。パスワード無しの場合は、カラ文字列にしてください。
Expand Down Expand Up @@ -525,7 +525,7 @@ <h1>Tesselを無線LANに接続する</h1>
<div class="github-fork-ribbon-wrapper right-bottom">
<div class="github-fork-ribbon">
<a href=
"https://github.com/technicalmachine/start.tessel.io">Fork on
"https://github.com/tessel/t2-start">Fork on
Github</a>
</div>
</div>
Expand Down
Loading

0 comments on commit 9a38989

Please sign in to comment.