Bumper to dio converter.
More...
Bumper to dio converter.
The bumpertodio driver converts bumper readings to boolean values.
- Compile-time dependencies
- Provides
- Requires
- bumper
- optionally dio to send dio commands to
- Configuration requests
- Configuration file options
- start_idx (integer)
- Default: 0
- Index of the first usable element in scans array
- end_idx (integer)
- Default: -1
- Index of the last usable element in scans array (-1 = the end of array)
- end_idx should be greater or equal to start_idx
- bits (integer)
- Default: 32
- Number of bits to set (1..32)
- Example
driver
(
name "bumpertodio"
provides ["dio:0"]
requires ["bumper:0"]
bits 2
)
- Author:
- Paul Osmialowski