Skip to content

Commit

Permalink
Merge pull request #20 from electricimp/develop
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
betzrhodes authored Apr 26, 2019
2 parents 1cd92b4 + 5d416c7 commit a05d19a
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
1 change: 1 addition & 0 deletions .impt.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"deviceGroupId": "f3ef6490-0ffc-cb1a-4ede-03718f9aaf86",
"deviceGroupName" : "impFarm F",
"timeout": 30,
"stopOnFail": false,
"allowDisconnect": false,
Expand Down
11 changes: 0 additions & 11 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# LIS3DH 3-Axis Accelerometer #

[![Build Status](https://api.travis-ci.org/electricimp/LIS3DH.svg?branch=master)](https://travis-ci.org/electricimp/LIS3DH)

The [LIS3DH](http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00274221.pdf) is a three-axis MEMS accelerometer. The LIS3DH application note can be found [here](http://www.st.com/web/en/resource/technical/document/application_note/CD00290365.pdf). This sensor has extensive functionality and this class has not yet implemented all of it. The LIS3DH can interface over I²C or SPI. This class addresses only I²C for the time being.

This library also supports the LIS2DH12, another widely used three-axis MEMS accelerometer and which can be found on [Electric Imp’s impExplorer™ Kit](https://developer.electricimp.com/gettingstarted/devkits).

**To add this library to your project, add** `#require "LIS3DH.device.lib.nut:2.0.2"` **to the top of your device code**

![Build Status](https://cse-ci.electricimp.com/app/rest/builds/buildType:(id:Lis3dh_BuildAndTest)/statusIcon)

## Class Usage ##

### Constructor: LIS3DH(*i2cBus[, i2cAddress]*) ###
Expand Down

0 comments on commit a05d19a

Please sign in to comment.