Jon Trulson
f13216752e
otp538u: Initial implementation
This module was tested on the Grove non-contact IR Temperature
Sensor. The tables included are only valid for a distance of 9cm.
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Jon Trulson
1f3d074261
nunchuck: Initial implementation
This was tested with the Grove Nunchuck adapter.
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Jon Trulson
780500ac0a
hmtrp: Add proper @defgroup documentation tag
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
John Van Drasek
fab4c26238
hmtrp: Initial implementation
This was tested on the Grove Serial RF Pro.
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Jon Trulson
fad4accfcc
adxl335: Add proper @defgroup documentation tag
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Jon Trulson
b03676222c
adxl335: Initial implementation
The was tested with the Grove 3-Axis Analog Gyro.
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Jon Trulson
db7d6d7f5f
cjq4435: Add proper @defgroup documentation tag
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Jon Trulson
6a0a7b6159
cjq4435: Initial implementation
This module was tested on the Grove MOSFET.
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Jon Trulson
0ebb7e0417
mma7660: Add proper @defgroup documentation tag
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Jon Trulson
44b9ce2bdf
mma7660: modify JS example to avoid coredumps when run for awhile
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Jon Trulson
12c290de70
mma7660: Initial implementation
This was tested on the Grove I2C 3-axis digital accelerometer.
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Chris Sarbora
e0e9405634
Fix Servo library so that it correctly moves to the given angle.
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Zion Orent
73be07df74
upm: new upm.i JS interface file with code to call v8 garbage collector
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Mihai Tudor Panu
b25cecd315
upm: require correct MRAA version
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Mihai Tudor Panu
0b9407356d
upm: update to version 0.1.9
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Mihai Tudor Panu
d5cccba5d1
email: e-mail address update in src and examples
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Mihai Tudor Panu
cb353600ec
jhd1313m: write function fix for lost chars
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
John Van Drasek
995734642e
mic: swig python interface changes and python example
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
John Van Drasek
aaaee7e422
nrf8001: Changing comment style to /**< comment */
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
John Van Drasek
025ce478be
nrf8001: Doxygen documentation warning fixes
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
John Van Drasek
da321e43f5
pulsensor: Doxygen documentation warning fixes
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Jon Trulson
ae7b2ad04f
rpr220: Initial implementation
The module implements the RPR220 IR Reflective Sensor. It was tested
with the Grove IR Reflective Sensor.
It includes 2 examples: rpr220.cxx, demonstrating the simple use case
of querying the current status.
rpr220-intr.cxx demonstrates the use of this class to register an
Interrupt Service Routine (ISR) to count transitions, which might be
more appropriate for some use cases, such as measuring RPM's.
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Zion Orent
06b48d8e07
wt5001: update JavaScript example to match new driver and C++ example
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Jon Trulson
328b7638ad
wt5001: switch to using new mraa_uart_get_dev_path()
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Jon Trulson
809292630f
ublox6: switch to using new mraa_uart_get_dev_path()
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Zion Orent
fec3f22765
adc121c021 : Updated JavaScript example for adc121c021 I2C ADC sensor
This patch fixes the JS example to be more like the C++ example.
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Philippe Coval
a665b5d6f1
cmake: allows to build in source tree by filtering subdirs
Without it FTBFS and displays this error message :
cmake . && make
(...)
The source directory
(...) src/CMakeFiles
does not contain a CMakeLists.txt file.
Change-Id: I08efc4667d1004a5d19575dd4464dcd89d03fb28
Bug: https://github.com/intel-iot-devkit/upm/pull/75
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Philippe Coval
ba33366d45
build: warn about building into sources' dir
If you build in the source tree, you'll fill the sources with objects and create a mess.
Please prefer to build outside sources tree into a temporary place,
prefer :
cmake build
to :
cmake .
But If you trust your build tools and cleanup is done on each build
you can use current dir without any risk.
Bug: https://github.com/intel-iot-devkit/upm/pull/75
Change-Id: Ieb914ca359047df8b5dba1c2174e6c61e4526677
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Mihai Tudor Panu
c9792b4e62
hmc5883l: added py example
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Mihai Tudor Panu
de342a5502
hmc5883l: modified py interface to support arrays
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Mihai Tudor Panu
a4e590ae3a
adxl345: Grove 3-Axis Accelerometer
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
10 years ago
Sarah Knepper
6aef5868af
es08a: Move servo.js example to use es08a class
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
John Van Drasek
a8b85ff93b
itg3200: python sample
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
John Van Drasek
e0bdba5478
itg3200: swig python additins for int16_t * support
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Sarah Knepper
09659c62f3
es08a: Add output to python example
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
de70ed8694
servo: Modified output of JavaScript example
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
2fce7369f4
es08a: Add comments, output, and one-second sleeps to C++ example
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
47c79086f2
servo: Remove extraneous output from routine
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
951f0e0866
servo: Improved documentation for es08a class
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
d9cc2812c4
servo: Improved documentation for servo
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
2886e6946f
buzzer: Python example for buzzer
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
02829cf43d
buzzer: Modify comments in C++ example
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
ddf32f9cb7
buzzer: documentation fixes
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
063abf7163
buzzer: remove extraneous output from destructor
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
John Van Drasek
6f19f28add
Fixing the comment for which plug the servo should be in
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
John Van Drasek
90079b8d10
es08a: Python example for es08a servo
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago
Sarah Knepper
5832f4e3b7
itg3200: JavaScript example file itg3200 3-axis digital gyroscope
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
12ecd6fa14
itg3200: Modifications to js swig file
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Sarah Knepper
092a455172
carrays_float.i: Add new file for float type
Signed-off-by: Sarah Knepper <sarah.knepper@intel.com >
10 years ago
Jon Trulson
d307376abc
rotaryencoder: Initial implementation
This module implements supoort for the Grove Rotary Encoder, though it
should function with any Rotary Encoder utilizing two GPIOs.
Signed-off-by: Jon Trulson <jtrulson@ics.com >
Signed-off-by: Zion Orent <zorent@ics.com >
Signed-off-by: John Van Drasek <john.r.van.drasek@intel.com >
10 years ago