ocoge/local_modules/@ocogeclub/lgpio/index.js

8 lines
258 B
JavaScript
Raw Normal View History

module.exports = require('bindings')('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;