Manage GPIO pins of a Raspberry PI.
Properties:
{gpiomem: true, mapping: string, allowMock: boolean,
mockRootDir: string}
where:
gpiomem
: enables non-privileged access to GPIO pins for recent Linux kernels.mapping
: refers to the pin numbering scheme beingphysical
(P01-P40 header layout) orgpio
(Broadcomm GPIOxx naming). See https://github.com/jperkin/node-rpio for details.allowMock
: enables simulating GPIO pins with files on a temp directory.mockRootDir
: default root directory for these files.
- Source: