Placeholder for re-write of intval lib using rpio. Potential speed increase on io functions.
This commit is contained in:
parent
a8a0cad6d6
commit
4d66c5c07a
|
@ -0,0 +1,37 @@
|
|||
'use strict'
|
||||
|
||||
//Optimized rpio-writebuf re-write of the intval module
|
||||
//https://gist.github.com/jperkin/e1f0ce996c83ccf2bca9
|
||||
|
||||
const db = require('../db')
|
||||
const log = require('../log')('intval3')
|
||||
const storage = require('node-persist')
|
||||
const fs = require('fs')
|
||||
const Rpio = require('rpio')
|
||||
|
||||
const intval = {}
|
||||
|
||||
|
||||
intval.init = function () {}
|
||||
intval._restoreState = function () {}
|
||||
intval._setState = function () {}
|
||||
intval._storeState = function () {}
|
||||
intval._declarePins = function () {}
|
||||
intval._undeclarePins = function () {}
|
||||
intval._startFwd = function () {}
|
||||
intval._startBwd = function () {}
|
||||
intval._pause = function () {}
|
||||
intval._stop = function () {}
|
||||
intval._watchMicro = function () {}
|
||||
intval._watchRelease = function () {}
|
||||
intval._releaseStateColsed = function () {}
|
||||
|
||||
intval.reset = function () {}
|
||||
intval.setDir = function () {}
|
||||
intval.setExposure = function () {}
|
||||
intval.setDelay = function () {}
|
||||
intval.setCounter = function () {}
|
||||
intval.frame = function () {}
|
||||
intval.status = function () {}
|
||||
|
||||
module.exports = intval
|
Loading…
Reference in New Issue