736ceb0686
BNO055 9DOF: Add string based cons for Fusion Hub
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
555da249a2
BMX055/BMI055/BMC150: Add string based cons
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
252feac5c7
Add changes getting values for upm parameters
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
5123a5c8e6
APA102: Add string based constructor for LED Strip
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
b13cef3ebb
Fix some issues for string based constructors
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
5a42e44c86
CWLSXXA CO2: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
dbd5fcf657
Collision Sensor: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
854a2b6bd8
CJQ4435 MOSFET: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
3acbb3d3d7
Button: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
74f87ce082
BMP: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
4cb4cf9020
BME280: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
a43627454f
BMP280: Add string based constructor for Pressure Sensor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
3c040e2822
BMM150: Add string based constructor for Magnetometer
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
a27ede911f
BMG160: Add string based cons for 3-axis Gyroscope
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
23e26399f9
BMA250E: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
19dd909439
BM220: Add string parser for upm parameters
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
d3198ef0ca
BISS0001: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
384f4a45ea
BMA220: Add string based cons for Accelerometer
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
881ab412a3
BH1750: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
055c12f080
ADXRS610Gyroscope: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
c7cca92fa7
ADXL345: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
ae55df8b75
AT42QT1070: Add string based constructor for QTouch
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
60a5500260
APDS9930: Add string based constructor for Digital Proximity and Ambient Light Sensor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
dad2e1f81a
APDS-9002: Add string based constructor for Luminance Sensor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
7265373a47
AM2315: Add string based constructor for Temperature & Humidity Sensor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
a79f85cb17
ADXL335: Add string based constructor for Accelerometer
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
b434e1ab51
ADS1X15: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre@rinftech.com >
2018-11-08 17:57:26 +02:00
a3a397acdf
AD8232: Fix some issues in sensor constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre1994@gmail.com >
2018-11-08 17:57:26 +02:00
4aa25f2281
ADIS16448: Add string based constructor for Accelerometer
...
Signed-off-by: Adelin Dobre <adelin.dobre1994@gmail.com >
2018-11-08 17:57:26 +02:00
b2c46f602e
ADC121C021: Add string based constructor
...
Signed-off-by: Adelin Dobre <adelin.dobre1994@gmail.com >
2018-11-08 17:57:26 +02:00
f34360c8ec
LDT0-028: Add string based constructor for Piezo Vibration Sensor
...
Signed-off-by: Adelin Dobre <adelin.dobre1994@gmail.com >
2018-11-08 17:57:26 +02:00
1f3520b770
Fix some inconsistences for the following sensors:
...
- a110x
- abp
- ad8232
- adafruitms1438
- adafruitss
2018-11-08 17:57:26 +02:00
d5f2d2ad44
Adafruit ServoShield: Add string based constructor
2018-11-08 17:57:26 +02:00
7ec90e96af
Adafruitms1438: Add string based constructor
2018-11-08 17:57:26 +02:00
cdc60a5f1a
PCA9685: Add string based constructor for PWM Controller
2018-11-08 17:57:26 +02:00
33fcb18cce
AD8232: Add string based constructor for Heart Rate Monitor
2018-11-08 17:57:26 +02:00
317a780161
ABP: Add string based constructor for Pressure Sensor
2018-11-08 17:57:26 +02:00
5c66bfc08d
A110X: Add string based contsructor
2018-11-08 17:57:26 +02:00
145db5997b
Add string based constructor for Buzzer and an example to initialize it
2018-11-08 17:57:26 +02:00
a1accb65df
Add string based constructors for UPM sensors
...
Signed-off-by: Mihai Stefanescu <mihai.stefanescu@rinftech.com >
Signed-off-by: Stefan Andritoiu <stefan.andritoiu@gmail.com >
2018-11-08 17:57:26 +02:00
85608a9f61
led: Update LED init API
...
mraa_led_init API expects led number. So, replace it with
mraa_led_init_raw for initializing an LED based on label.
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-28 22:45:57 -07:00
4927311a0c
upm: bump minimum MRAA required to 2.0
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-28 15:38:22 -07:00
b50b93272d
Add initial details of Fedora packages
...
Fedora now ships upm 1.7.0 for Fedora 28 and later so include these
details to enable easier consumption by Fedora mraa/upm.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-28 14:58:16 -07:00
ed4fe56ef8
Use IdleNotificationDeadline as deprecated IdleNotification has been removed
...
In v8 API 6.5 the long deprecated IdleNotification has been removed so we
need to use IdleNotificationDeadline as nodejs 10.x uses newer v8.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com >
Signed-off-by: Noel Eck <noel.eck@intel.com >
2018-09-09 11:26:28 -07:00
67b77b78aa
upm: version 1.7.0
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
v1.7.0
2018-09-06 08:00:22 -07:00
bc01f710ea
docs: remove images and references to obsolete IDEs
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-06 07:55:48 -07:00
1af38e060e
images: update Sparkfun license for images to CC BY 2.0
...
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-06 07:46:33 -07:00
62f84dcc47
mmap-gpio: remove deprecated mmapped gpio function calls
...
The memory mapped GPIO function calls have been deprecated and in turn removed from the UPM libraries. MRAA now provides the best/fastest GPIO access possible based on the selected platform/pin automatically.
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-04 07:53:16 -07:00
6ae7e9125b
examples: gcc8 fixes for -Werror=format-truncation
...
Fixes below issues:
tm1637.cxx:69:29: error: "%2d%02d" directive output may be truncated writing between 5 and 15 bytes into a destination of size 5 [-Werror=format-truncation=]
snprintf(myTime, 5, "%2d%02d", (hour + timezone + 24) % 24, min);
jhd1313m1.c:65:49: error: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 8 [-Werror=format-truncation=]
snprintf(str, sizeof(str), "Hello World %d", ndx);
Signed-off-by: Sumit Garg <sumit.garg@linaro.org >
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-04 07:27:53 -07:00
07a9af07fe
upm-c: remove uint8_t limit from pin/bus variables in structs
...
This removes unnecessary uint8 types from C driver structs that prevented some sensors from being initialized when connected to a MRAA subplatform.
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com >
2018-09-04 06:32:12 -07:00