Skip to content

I2C Tutorial #179

@HipsterBrown

Description

@HipsterBrown

The I2C API methods are currently documented, but it would be nice to add a complete tutorial of how to use the API in a project. (API Reference -> https://tessel.gitbooks.io/t2-docs/content/API/Hardware_API.html#i2c).

The documentation would go in the "Tutorials" directory in a file called I2C.md.

I think it would be nice to match the structure of the PWM tutorial and Pin Interrupt tutorial. I think the tutorial circuit could use the Tessel accelerometer module because we have working a library to reference.

Steps to complete:

  • create a code sample that uses the I2C API to communicate write to and/or read from the accelerometer module
  • add a working Fritzing example to match the code sample
  • add documentation of how the API communication works, i.e. why certain hex address are sent over and references to the datasheet for the component

Feel free to mention me in this issue, or a PR, or post in Tessel Slack #community channel with question or if review is needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions