Skip to content

Different mapping options #97

@kothique

Description

@kothique
sensor.initialize({
  // ... options along the way,
  mapping: 'physical' // 'gpio', 'bcm', 'wiringPi' could be supported for example (bcm === gpio)
});

The default option would be 'gpio' for compatibility.
Also I don't know if it should be done on JS or C++ side.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions