From 0d05b1868227a28f168b07ca0f3478001314ff6c Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Tue, 22 Aug 2017 00:30:17 -0400 Subject: [PATCH] Add startFrame variable for tracking length of frames --- lib/intval/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/intval/index.js b/lib/intval/index.js index fc2d553..3cb32c9 100644 --- a/lib/intval/index.js +++ b/lib/intval/index.js @@ -5,6 +5,7 @@ const gpio = require('gpio') class Intval { constructor () { this._pin = {} + this._startFrame = 0 this._declarePins() } _declarePins () {