This sample application periodically reads raw data from the FDC2X1X sensor in polling mode or optionally with data ready trigger. It is able to read the 12-Bit and 28-Bit, as well as the 2-Channel and 4-Channel versions (FDC2112, FDC2114, FDC2212, FDC2214). The 4-channel versions are chosen through devicetree properties. The default is FDC2112. Signed-off-by: Igor Knippenberg <igor.knippenberg@gmail.com>
10 lines
173 B
Plaintext
10 lines
173 B
Plaintext
CONFIG_LOG=y
|
|
CONFIG_I2C=y
|
|
CONFIG_SENSOR=y
|
|
CONFIG_PM_DEVICE=n
|
|
CONFIG_NEWLIB_LIBC=y
|
|
CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y
|
|
|
|
CONFIG_FDC2X1X=y
|
|
CONFIG_FDC2X1X_TRIGGER_GLOBAL_THREAD=n
|