Noel Eck
b5a33f6ee3
cmake: Cleanup of src CMakeLists.txt description field
...
Removed 'upm' string, capitalized first character, added descriptions
where necessary.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-10-20 16:19:59 -07:00
Abhishek Malik
a9883bd1f2
Grove: Reverting Grove sources
...
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
2016-09-14 14:09:21 -07:00
Sisinty Sasmita Patra
c759932ee6
Button: Fixed build errors
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:19 -07:00
Sisinty Sasmita Patra
3753a1be5c
Button: Removed grove dependency
...
* Renamed all files from groverrotary to rotary
* Replaced all instances of groverrotary with rotary
* Updated all CMake files
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:16 -07:00
Noel Eck
1b9b142b2e
grove: Small changes to build grove library
...
* Removed relay and rotary from grove library
* Removed relay and rotary from grove SWIG interfaces
* Fixed warning for o2 printf %
* Fixed return value warning for _get_normalized method used by
my analog sensors.
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-14 14:09:10 -07:00
Sisinty Sasmita Patra
bded0a07d9
Rotary: Added C source
...
Added C source for rotary angle sensor
* Renamed all files from groverrotary to rotary
* Replaced all instances of groverrotary with rotary
* Added C source for rotary angle sensor
* Updated all CMake files
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:09 -07:00
Sisinty Sasmita Patra
b266f87450
Relay: Added C source
...
Signed-off-by: Sisinty Sasmita Patra <sisinty.s.patra@intel.com>
2016-09-14 14:09:09 -07:00
Noel Eck
e58c651b67
slide: Added slide potentiometer sensor C source
...
Added the C source for the flex sensor with necessary changes to cmake,
examples, and docs.
* Renamed all files with groveslide to slide
* Replaced all instances of groveslide with slide
* Added C source for slide sensor
* Updated all cmake files
* Added C example for slide sensor
* Split out slide sensor from grove library
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-14 14:09:01 -07:00
Noel Eck
571f9c9498
light: Added light sensor C source
...
Added the C source for the light sensor with necessary changes to cmake,
examples, docs.
* Renamed all files with grovelight to light
* Replaced all instances of grovelight with light
* Added C source for light sensor
* Updated all cmake files
* Added C example for light sensor
* Split out light sensor from grove library
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-09-14 14:08:59 -07:00
Mihai Tudor Panu
bda66a3d06
grovetemp: updated conversion formula for v1.2 compatibility
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-08-02 10:16:46 -07:00
Mihai Tudor Panu
b08fc8d48d
grove: split code base for grove sensors into individual files
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-08-01 18:25:36 -07:00
Brendan Le Foll
05730dba68
cmake: add dependency on mraa v1.0.0
...
Merged conflict in grove.cxx GroveTemp::value where new
scale factor was added. Changed to apply scale factor
post error-check.
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-05-09 17:31:38 -07:00
Brendan Le Foll
e51c5f3018
This is a combination of 2 commits.
...
aio: mraa_aio_read (v1.0.0) can now return -1, treat that in sensors using it
Adds alot of exceptions if the aio read goes wrong
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-05-09 17:13:35 -07:00
Mihai Tudor Panu
61f7803d92
grovetemp: added a scaling factor to allow adjusting ADC values
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-05-06 14:15:10 -07:00
Noel Eck
922e0cc26b
cpp_headers: Renamed C++ headers from .h -> .hpp
...
To make room for UPM C and C++ sensor code to coexist, all UPM
C++ headers have been renamed from h -> hpp. This commit contains
updates to documentation, includes, cmake collateral, examples, and
swig interface files.
* Renamed all cxx/cpp header files which contain the string
'copyright intel' from .h -> .hpp (if not already hpp).
* Replaced all references to .h with .hpp in documentation,
source files, cmake collateral, example code, and swig interface
files.
* Replaced cmake variable module_h with module_hpp.
* Intentionally left upm.h since this file currently does not
contain code (documentation only).
Signed-off-by: Noel Eck <noel.eck@intel.com>
2016-04-28 14:00:54 -07:00
Petre Eftime
2cd043c2a1
java: Use Runnables instead of IsrCallbacks in Java
...
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2016-01-28 13:42:38 -08:00
Noel Eck
e003a11723
cmake: added doxygen doc content to python sensor modules
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-12-21 16:20:15 -08:00
Petre Eftime
8273556539
java: fix Java IsrCallback crash
...
The director now uses a GlobalRef instead of a WeakRef to the IsrCallback object
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-12-21 16:03:51 -08:00
Stefan Andritoiu
dddba3e8a4
java: Added auto load library code in upm SWIG interfaces
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-11-24 14:36:17 -08:00
Andrei Vasiliu
6719168a20
grove: add callback to GroveButton
...
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-18 10:25:09 -07:00
Andrei Vasiliu
2002904faa
grove: mraa_init is done at mraa module or library load
...
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-18 10:24:55 -07:00
Jon Trulson
38351cbe6e
grove: throw exception(s) on fatal errors
...
Signed-off-by: Jon Trulson <jtrulson@ics.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-17 16:59:44 -07:00
Stefan Andritoiu
8b9267c253
java: eliminated SWIGTYPE_p_mraa_result_t
...
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-04 13:48:19 -07:00
Andrei Vasiliu
d3e0ae5771
java: fixed grove API and added some examples
...
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-09-04 13:47:45 -07:00
Stefan Andritoiu
7e2ae96c1f
Added Java support and bindings
...
Signed-off-by: Andrei Vasiliu <andrei.vasiliu@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-08-13 16:25:54 -07:00
VadimPopov
04edb9be04
docs: more header files edited
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-08-12 12:21:16 -07:00
sisinty sasmita patra
2e36b8dc21
images: Added few images and modified few header files
...
Signed-off-by: sisinty sasmita patra <sisinty.s.patra@intel.com>
2015-07-08 11:46:30 -07:00
Mihai Tudor Panu
32921ff2b1
upm: updated headers of sensors in home automation kit
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-24 13:39:09 -07:00
Mihai Tudor Panu
6c7928fc92
upm: updated headers of sensors in environmental kit
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-24 13:25:29 -07:00
sisinty sasmita patra
46ab65a344
images: Added few more images and updated corresponding header files
...
Signed-off-by: sisinty sasmita patra <sisinty.s.patra@intel.com>
2015-06-10 20:55:42 -07:00
Mihai Tudor Panu
14f80e779e
docs: updated library descriptions and sensor names for consistency
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-01 17:18:27 -07:00
Mihai Tudor Panu
8614cb322a
docs: removed C++ references from documentation to make API language agnostic
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-06-01 15:46:18 -07:00
Mihai Tudor Panu
a5048d20fd
grove: updated and added headers with tags
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-04-13 17:28:29 -07:00
Mihai Tudor Panu
e2b3cbc0f1
examples: added missing snippets and paired them with right examples
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-03-13 17:05:12 -07:00
Mihai Tudor Panu
d5cccba5d1
email: e-mail address update in src and examples
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
2015-02-10 11:54:44 -08:00
Alexandru Radovici
eca9ed95c8
grove: added GroveRelay class for Grove Relay
...
Signed-off-by: Alexandru Radovici <alexandru.radovici@wyliodrin.com>
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
2015-01-09 18:17:58 -08:00
sknepper
49d25b1791
grove: modify Grove LED documentation
...
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
2015-01-08 14:27:31 -08:00
sknepper
42cde580bf
grove: updated description of Grove light sensor
...
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
2015-01-07 15:58:16 -08:00
Sarah Knepper
c3d5b95576
grove.h: Improve docstrings on GroveTemp
...
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-12-04 10:59:17 +00:00
Sarah Knepper
5bbdc148c6
grove.cxx: Improve GroveTemp formula
...
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-12-04 10:54:48 +00:00
Sarah Knepper
751b0f1fe0
grove: improve docstrings
...
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-12-04 10:41:46 +00:00
Sarah Knepper
6fa68db79f
grove.cxx: change lux formula used in GroveLight
...
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-12-04 10:37:38 +00:00
sknepper
801209678b
grove: add grove button support and examples
...
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-11-26 17:01:10 +00:00
Mihai Tudor Panu
cebc339d91
grove: sliding potentiometer
...
Signed-off-by: Mihai Tudor Panu <mihai.t.panu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-11-12 17:20:06 +00:00
Mihai Tudor Panu
b2ffcdd9ea
grove: rotary angle sensor
...
Signed-off-by: Mihai Tudor Panu <mihai.t.panu@intel.com>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-11-12 17:18:12 +00:00
Brendan Le Foll
397af51d7c
upm: Add sensor groups based on IO types
...
This commit also fixes adds some default constructor arguments to some i2c
sensors.
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-10-02 10:28:29 +01:00
Brendan Le Foll
79e8a261ba
grove.h: add documentation to aio grove sensors
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-10-02 09:55:13 +01:00
Brendan Le Foll
da59216663
grove.cxx: fix with 10bit ADC numbers
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-27 07:14:39 +01:00
Brendan Le Foll
befba8c18d
doxygen: add groups for all modules
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-22 16:37:36 +01:00
Brendan Le Foll
bbb7aa5a39
grove.cxx: drop ADC resolution to 10bit for calculation
...
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2014-09-10 15:44:15 +01:00