readd state

This commit is contained in:
Skylar Grant 2024-11-24 18:23:14 -05:00
parent 131f426b8f
commit 8c61879bb4

View File

@ -2,7 +2,7 @@
const gpio = require('../custom_modules/VoidGPIO.js');
const config = require('../custom_modules/config.json');
const fn = require('../custom_modules/functions.js');
// const { State } = require('../custom_modules/HestiaClasses.js');
const { State } = require('../custom_modules/HestiaClasses.js');
// Variables
process.pinMap = new Map();
@ -14,7 +14,7 @@ for (const pin of config.pins) {
// Initialize state
fn.log('Initializing state');
// process.psState = new State(config);
process.psState = new State(config);
// Auger Loop
fn.log('Starting auger loop');