Si7021_MultiWire (community library)

Summary

Name Value
Name Si7021_MultiWire
Version 0.0.2
Installs 918
License MIT
Author Brandon Satorm brandon@particle.io
URL https://github.com/bsatrom/Si7021_MultiWire.git
Repository https://github.com/bsatrom/Si7021_MultiWire.git
Download .tar.gz
All Versions 0.0.2, 0.0.1

A Particle library for the Si7021 Temperature and Humidity sensor, with multi-wire support

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

Si7021_MultiWire

A Particle library for the Si7021 Temperature and Humidity sensor, based on the Sparkfun Si7021 Breakout, but with support for Particle devices with multiple I2C buses (for instance, the Electron).

Usage

Connect A Photon or Electron, add the Si7021_MultiWire library to your project and follow this simple example:

#include "Si7021_MultiWire.h"
Si7021_MultiWire si7021_MultiWire = Si7021_MultiWire(Wire); // Use Wire (Photon) or Wire1 (Photon and Electron)

void setup() {
si7021_MultiWire.begin();
}

void loop() {
si7021_MultiWire.process();
}

See the examples folder for more details.

Documentation

TODO: Describe Si7021_MultiWire

Contributing

Here's how you can make changes to this library and eventually contribute those changes back.

To get started, clone the library from GitHub to your local machine.

Change the name of the library in library.properties to something different. You can add your name at then end.

Modify the sources in and with the new behavior.

To compile an example, use particle compile examples/usage command in Particle CLI or use our Desktop IDE.

After your changes are done you can upload them with particle library upload or Upload command in the IDE. This will create a private (only visible by you) library that you can use in other projects. Do particle library add Si7021_MultiWire_myname to add the library to a project on your machine or add the Si7021_MultiWire_myname library to a project on the Web IDE or Desktop IDE.

At this point, you can create a GitHub pull request with your changes to the original library.

If you wish to make your library public, use particle library publish or Publish command.

LICENSE

Copyright 2018 Brandon Satorm mailto:brandon@particle.io

Licensed under the MIT license

Browse Library Files