mirror of
https://github.com/ocogeclub/ocoge.git
synced 2024-11-22 23:59:49 +00:00
8 lines
258 B
JavaScript
8 lines
258 B
JavaScript
|
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;
|