From 9f549d2d7437417040b0093f0846229789590779 Mon Sep 17 00:00:00 2001 From: ElectricImp Date: Wed, 24 Apr 2019 13:15:15 -0700 Subject: [PATCH 1/3] updated badge, removed travis.yml --- .travis.yml | 11 ----------- README.md | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index bd1dd46..0000000 --- a/.travis.yml +++ /dev/null @@ -1,11 +0,0 @@ -language: node_js - -node_js: - - "node" - -before_script: - - npm i -g imp-central-impt@latest - - impt auth login --local --lk ${EI_LOGIN_KEY} - -script: - - impt test run diff --git a/README.md b/README.md index 142f962..3511ba0 100644 --- a/README.md +++ b/README.md @@ -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]*) ### From 09ea7fe558bba38c9fa4eed2fafd64ac3ca93698 Mon Sep 17 00:00:00 2001 From: ElectricImp Date: Fri, 26 Apr 2019 13:14:05 -0700 Subject: [PATCH 2/3] added .editorconfig, gitignore, added dg name to .impt.test --- .editorconfig | 12 ++++++++++++ .gitignore | 0 .impt.test | 1 + 3 files changed, 13 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..779f99a --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.impt.test b/.impt.test index cab6d68..720340b 100644 --- a/.impt.test +++ b/.impt.test @@ -1,5 +1,6 @@ { "deviceGroupId": "f3ef6490-0ffc-cb1a-4ede-03718f9aaf86", + "deviceGroupName" : "impFarm F", "timeout": 30, "stopOnFail": false, "allowDisconnect": false, From 5d416c7d6954fdeec900b6d61044778bdfe18aaf Mon Sep 17 00:00:00 2001 From: ElectricImp Date: Fri, 26 Apr 2019 13:15:25 -0700 Subject: [PATCH 3/3] updated .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e69de29..e43b0f9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +.DS_Store