Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON
Fork of X_NUCLEO_IKS01A1 by
Diff: x_nucleo_iks01a1.h
- Revision:
- 80:f6797ece194f
- Parent:
- 79:b8233a6518f2
- Child:
- 76:88d48e64bac2
diff -r b8233a6518f2 -r f6797ece194f x_nucleo_iks01a1.h
--- a/x_nucleo_iks01a1.h Mon Aug 31 12:07:22 2015 +0200
+++ b/x_nucleo_iks01a1.h Thu Sep 03 10:46:55 2015 +0200
@@ -81,7 +81,7 @@
class X_NUCLEO_IKS01A1
{
protected:
- X_NUCLEO_IKS01A1(DevI2C *ext_i2c);
+ X_NUCLEO_IKS01A1(DevI2C *ext_i2c, PinName ff_irq_pin);
/**
* @brief Initialize the singleton's sensors to default settings
@@ -115,7 +115,9 @@
bool Init_LSM6DS3(void);
public:
- static X_NUCLEO_IKS01A1* Instance(DevI2C *ext_i2c = NULL);
+ static X_NUCLEO_IKS01A1* Instance(DevI2C *ext_i2c = NULL,
+ PinName ff_irq_pin = IKS01A1_PIN_FF);
+ static X_NUCLEO_IKS01A1* Instance(PinName sda, PinName scl, PinName ff_irq_pin = NC);
DevI2C *dev_i2c;
