mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-25 08:59:49 +00:00
8 lines
274 B
JavaScript
8 lines
274 B
JavaScript
|
module.exports = require('bindings')('ocoge_lgpio');
|
||
|
|
||
|
module.exports.SET_ACTIVE_LOW = 4;
|
||
|
module.exports.SET_OPEN_DRAIN = 8;
|
||
|
module.exports.SET_OPEN_SOURCE = 16;
|
||
|
module.exports.SET_PULL_UP = 32;
|
||
|
module.exports.SET_PULL_DOWN = 64;
|
||
|
module.exports.SET_PULL_NONE = 128;
|