diff --git a/src/_EMR/main.js b/src/_EMR/main.js index b211fe5..195200c 100644 --- a/src/_EMR/main.js +++ b/src/_EMR/main.js @@ -3,6 +3,9 @@ const gpio = require('../custom_modules/VoidGPIO.js'); const config = require('../custom_modules/config.json'); const fn = require('../custom_modules/functions.js'); +// Initialize state +process.psState = new State(config); + // Auger Loop setInterval(fn.routines.cycleAuger, 2000);