Skip to content

Commit

Permalink
moved usage info to blinky and added gpio page
Browse files Browse the repository at this point in the history
  • Loading branch information
Frijol committed Sep 14, 2015
1 parent ae25332 commit f9b5596
Show file tree
Hide file tree
Showing 8 changed files with 90 additions and 85 deletions.
4 changes: 2 additions & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ <h1><a href="https://tessel.io/"><nobr><img src=
<a href="{{ site.baseurl }}/tweet.html">tweet</a>
</li>
<li>
<a href="{{ site.baseurl }}/usage.html">usage</a>
<a href="{{ site.baseurl }}/gpio.html">gpio</a>
</li>
<li>
<a href="{{ site.baseurl }}/finished.html">finish</a>
Expand Down Expand Up @@ -147,7 +147,7 @@ <h1><a href="https://tessel.io/"><nobr><img src=
</ul></a>
</li>
<li>
<a href="{{ site.baseurl }}/usage.html">5. usage</a>
<a href="{{ site.baseurl }}/gpio.html">5. gpio</a>
</li>
<li>
<a href="{{ site.baseurl }}/finished.html">6. finished</a>
Expand Down
3 changes: 3 additions & 0 deletions blinky.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ to run your code in Tessel's RAM.
**Look at your Tessel!** The blue and green LEDs on your Tessel's LED panel should blink back and forth.

**Bonus:** mess with the code to make the LEDs blink in sync.

**Bonus 2:** what if you want to save blinky to your Tessel? There's a command for that! Try `t2 push blinky.js`, then unplug your Tessel and plug it back in again. Wait for it to boot up, then... lights will blink! Tired of the blinking lights? `t2 erase` will clear the saved code. Learn more `t2` commands by running `t2 -h` or looking at the [T2 CLI docs](https://tessel.io/docs/cli).

</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion finished.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ You've completed the Tessel Tutorial!

<div class="row">
<div class="large-6 columns left">
<a href="usage.html" class="bottomButton button">Prev: CLI Usage</a>
<a href="gpio.html" class="bottomButton button">Prev: GPIO</a>
</div>
</div>
2 changes: 1 addition & 1 deletion usage.html → gpio.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
---

{% capture include_install %}
{% include_relative usage.md %}
{% include_relative gpio.md %}
{% endcapture %}
{{ include_install | markdownify }}
80 changes: 80 additions & 0 deletions gpio.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{::options parse_block_html="true" /}

<div class="row">
<div class="large-12 columns">

# Beyond Modules

<div class="row">
<div class="large-8 columns">

Tessel's two module ports are not just for modules! They can also be used as flexible, simply addressable GPIO (general purpose input/output) pins.

What does that mean? It means you're not limited to Tessel's ten-pin modules. In theory, you can connect nearly any electronic device or sensor to Tessel!

</div>
<div class="large-3 columns right">

![](https://raw.githubusercontent.com/rwaldron/tessel-io/master/fritzing/tessel.png)

</div>
</div>

<div class="row">
<div class="large-12 columns">

### Community modules

For an experience nearly as easy as Tessel's ten-pin module experience, take a look at the [Community Modules](https://tessel.io/modules#third-party).

These are hardware components for which members of the community have created npm libraries, documentation, and wiring information.

Here are a few:

</div>
</div>

<div class="row">
<div class="large-6 columns left">
<iframe frameborder='0' height='270' scrolling='no' src='https://www.hackster.io/ifoundthemeaningoflife/tessel-button/embed?use_route=project' width='360'></iframe>
</div>
<div class="large-6 columns left">
<iframe frameborder='0' height='270' scrolling='no' src='https://tessel.hackster.io/zaccolley/thermal-printer-module-for-tessel/embed?use_route=project' width='360'></iframe>
</div>
</div>
<div class="row">
<div class="large-6 columns left">
<iframe frameborder='0' height='270' scrolling='no' src='https://www.hackster.io/adkron/backpack-ht16k33/embed?use_route=project' width='360'></iframe>
</div>
<div class="large-6 columns left">
<iframe frameborder='0' height='270' scrolling='no' src='https://tessel.hackster.io/andrewcashmore/lego-ir/embed?use_route=project' width='360'></iframe>
</div>

<div class="row">
<div class="large-12 columns">

<br/>
To see more community-created modules (or to add one you've made!) go to [tessel.io/modules](https://tessel.io/modules#third-party).

### Making your own Modules

If no one has made the module you want yet, you can be the first! There are a lot of cool components on [SparkFun](//sparkfun.com) and [Adafruit](//adafruit.com) that are fairly easy to connect to Tessel.

In case you've never built anything with hardware before, we've put up an introduction at [tessel.io/diy](//tessel.io/diy) that should get you up and running.

Share what you've made, and if you need help, [just ask](https://forums.tessel.io/c/community-modules). Happy inventing!

</div>
</div>

<div class="greyBar"></div>

<div class="row">
<div class="large-6 columns left">
<a href="modules.html" class="bottomButton button">Prev: Modules</a>
</div>

<div class="large-6 columns right">
<a href="finished.html" class= "bottomButton right button">Next: Finished</a>
</div>
</div>
2 changes: 1 addition & 1 deletion modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Modules should be plugged in so that all of the electrical components are on the
<div class="large-12 columns">
## Choose a module below to get up and running

If you've already tried out your modules, move on to [Usage.](usage.html)
If you've already tried out your modules, move on to [other uses for the module ports.](gpio.html)

* [Accelerometer](modules/accelerometer.html)
* [Ambient (Light + Sound)](modules/ambient.html)
Expand Down
4 changes: 2 additions & 2 deletions modules/_module_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="large-12 columns">
<h2>Choose another module</h2>
<p>Or if you're all set, move on to <a href=
"../usage.html">CLI usage.</a></p>
"../gpio.html">other uses for the module port.</a></p>

<ul class="small-block-grid-1 large-block-grid-3">
<li>
Expand Down Expand Up @@ -51,6 +51,6 @@ <h2>Choose another module</h2>
<a href="../wifi.html" class="bottomButton button">Prev: Connect to Wifi</a>
</div>
<div class="large-6 columns right">
<a href="../usage.html" class="bottomButton right button">Next: CLI</a>
<a href="../gpio.html" class="bottomButton right button">Next: Beyond modules</a>
</div>
</div>
78 changes: 0 additions & 78 deletions usage.md

This file was deleted.

0 comments on commit f9b5596

Please sign in to comment.