Giter Club home page Giter Club logo

t2-docs's People

Contributors

alarner avatar alexchee avatar arushi019 avatar boneskull avatar brihijoshi avatar carlbaron avatar carlqlange avatar coreyferguson avatar despairblue avatar ebruchez avatar ekolker avatar frijol avatar greenkeeper[bot] avatar hipsterbrown avatar huseyinkozan avatar hybriscole avatar jeff-duke avatar johnnyman727 avatar joshunger avatar makenai avatar manasigandhi avatar manumaticx avatar mittalshravika avatar reconbot avatar rwaldron avatar solderneer avatar tcr avatar xasc avatar yoonghm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

t2-docs's Issues

Document '.tesselinclude' dotfile

Similar to npm, the t2-cli looks for a .tesselinclude dotfile to use in whitelisting files being sent over to Tessel 2 when pushing/running code, especially during the --slim bundling process. Reference

This should be documented in the Tessel docs, probably under the Tessel 2 CLI page.

Power docs for Tessel 2

Should include:

  • how to power not over USB
  • range of allowed voltages
  • hot-swapping
  • sleep modes

Refactor PWM docs

The PWM docs have a decent description and code example but I'm still having trouble understanding how pwmFrequency and pwmDutyCycle work.

I think it would be nice to match the structure of the Pin Interrupts docs:

  • add a working Fritzing example to match the code sample (maybe with an RGB LED)
  • add a "Usage" section that describes what values pwmFrequency & pwmDutyCyle take as arguments (see the Interrupts usage section as an example)

Check out the t2-firmware source for more info about how each method works:

Feel free to ping me or post in Tessel Slack #community channel with question or if review is needed.

SPI example has non-sensical inclusion of math expression that's actually longer than the number it represents

var spi = new port.SPI({
  clockSpeed: 4*1000*1000, // 4MHz
  cpol: 1, // polarity
  cpha: 0, // clock phase
});

Is there a reason for assigning clockSpeed the value of an expression to be evaluated, versus just the number?

var spi = new port.SPI({
  clockSpeed: 4000000, // 4MHz
  cpol: 1, // polarity
  cpha: 0, // clock phase
});

Also, we should deprecate (with aliasing) clockSpeed, cpol and cphase in favor of parameters that are named something less hostile.

Recommending:

Old Name New Name
clockSpeed frequency
cpol polarity
cpha phase

Sections are out of order

The TOC at the top lists:

  • PWM pins
  • SPI
  • I2C
  • UART/Serial

But the sections are actually:

  • PWM pins
  • I2C
  • Terms Used
  • SPI
  • UART/Serial

I suggest reordering the sections to:

  • PWM pins
  • Terms Used
  • I2C
  • SPI
  • UART/Serial

And the TOC to match

Document 'ap' command

There is now another networking utility available through t2-cli: creating access points, i.e. personal wifi networks, on the Tessel 2. It should be documented because it's pretty dang cool. Reference

API example library

It would be cool if we had a library of quick examples for how to use different APIs.
A good starting set: PubNub, Twilio, Plotly, Firebase, ...

I'm envisioning a setup whereby we have a JSON linking to hackster embed links

(example of hackster embedded: from http://tessel.github.io/t2-start/modules/ambient.html

screen shot 2015-10-17 at 11 11 24 am
)

And then a view that pulls from there to some grid layout on tessel.io/docs.

This makes it easy for people who want to showcase their APIs to quickly make an example and show it off on our site, which lends itself to lots of great examples and options for our community.

Related: tessel/t2-start#4

Syntax Highlighting in code examples is hard to read

Of course, this is subjective, but there are parts that are actually completely unreadable, like the parameter list syntax of functions.

I suggest that we put all of these into gists that are embedded in the docs

Complete the readme

Should have:

  • Diagram of T2
  • Link to Fritzing part
  • Suggestion to contribute & how to get started
  • Some kind of "looking for T1?" link

pin.analogWrite(0.6) sets voltage to 0.6V, not 60% of 3.3V

According to the docs:

pin.analogWrite(0.6); // turn pin to 60% of high

But I found that rather than ~2V, it set the pin to 0.6V. Not sure if it's a docs problem or a software problem -- but I did find it surprising (I expected analogWrite(1) to set the pin to 3.3V, not 1V.)

Add required ports

After have some problem listing and using the t2 over LAN [0], I tried to disable the firewall at Ubuntu 14.04 and it solved my problem.

Shouldn't we add required ports (mdns for ex.) to the docs ?

[0] tessel/t2-cli#650

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.