Add startFrame variable for tracking length of frames
This commit is contained in:
parent
1c53af9215
commit
0d05b18682
|
@ -5,6 +5,7 @@ const gpio = require('gpio')
|
||||||
class Intval {
|
class Intval {
|
||||||
constructor () {
|
constructor () {
|
||||||
this._pin = {}
|
this._pin = {}
|
||||||
|
this._startFrame = 0
|
||||||
this._declarePins()
|
this._declarePins()
|
||||||
}
|
}
|
||||||
_declarePins () {
|
_declarePins () {
|
||||||
|
|
Loading…
Reference in New Issue