diff --git a/lib/intval/index.js b/lib/intval/index.js index 898c686..3a6f2aa 100644 --- a/lib/intval/index.js +++ b/lib/intval/index.js @@ -127,7 +127,7 @@ intval._startBwd = function () { intval._pause = function () { intval._pin.fwd.writeSync(0) intval._pin.bwd.writeSync(0) - log.info('_pause', 'frame paused') + //log.info('_pause', 'frame paused') } /** * Stop motor by setting both motor pins to 0 (LOW) @@ -206,7 +206,7 @@ intval._watchRelease = function (err, val) { if (err) { return log.error(err) } - log.info(`Release switch val: ${val}`) + //log.info(`Release switch val: ${val}`) if (val === 0) { //closed if (intval._releaseClosedState(now)) { @@ -222,7 +222,7 @@ intval._watchRelease = function (err, val) { } else if (press >= intval._release.seq) { intval.sequence() } - log.info(`Release closed for ${press}ms`) + //log.info(`Release closed for ${press}ms`) intval._state.release.time = 0 intval._state.release.active = false } @@ -296,16 +296,16 @@ intval.frame = function (dir = null, time = null) { intval._state.frame.paused = true setTimeout(intval._pause, intval._state.frame.open) if (dir) { - log.info('frame', { pausing : time + intval._state.frame.open }) + //log.info('frame', { pausing : time + intval._state.frame.open }) setTimeout( () => { - log.info('frame', 'restarting') + //log.info('frame', 'restarting') intval._state.frame.paused = false intval._startFwd() }, time + intval._state.frame.closed) } else { log.info('frame', { pausing : time + intval._state.frame.open }) setTimeout( () => { - log.info('frame', 'restarting') + //log.info('frame', 'restarting') intval._state.frame.paused = false intval._startBwd() }, time + intval._state.frame.closed)