Private
Public Access
2
0
Files
mraa/docs/iio.md
Brendan Le Foll b77bf40c34 iio.md: add triger_now option
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
2015-12-15 10:42:06 +00:00

566 B

iio

IIO is the kernel's framework for supporting sensors. You may need to recompile a kernel and add, this is from kernel 4.2: CONFIG_IIO_DUMMY_EVGEN=m CONFIG_IIO_SIMPLE_DUMMY=m CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y

'RAW' access

Mraa supports raw access

###Channels

###Attributes

###Events

###Triggers

Activate the trigger in /sys/class/iio $ echo 1 > trigger0/trigger_now

Testing without hardware

Create a dummy iio device $ modprobe iio_dummy

Create a dummy iio event generator $ modprobe iio_dummy_evgen