9c20e34730fc6cedcd99f521fb421800c262959f
[contrib/mraa.git] / docs / iio.md
1 iio                             {#iio}
2 ===
3
4 IIO is the kernel's framework for supporting sensors. You may need to recompile
5 a kernel and add, this is from kernel 4.2:
6 CONFIG_IIO_DUMMY_EVGEN=m
7 CONFIG_IIO_SIMPLE_DUMMY=m
8 CONFIG_IIO_SIMPLE_DUMMY_EVENTS=y
9 CONFIG_IIO_SIMPLE_DUMMY_BUFFER=y
10
11 ## 'RAW' access
12
13 Mraa supports raw access
14
15 ###Channels
16
17 ###Attributes
18
19 ###Events
20
21 ###Triggers
22
23 ## Testing without hardware
24
25 Create a dummy iio device
26 $ modprobe iio_dummy
27
28 Create a dummy iio event generator
29 $modprobe iio_dummy_evgen