diff --git a/src/_EMR/ign_off.js b/src/_EMR/ign_off.js index 4de26ae..36cc10d 100644 --- a/src/_EMR/ign_off.js +++ b/src/_EMR/ign_off.js @@ -1,7 +1,7 @@ // Import modules -const gpio = require('./custom_modules/VoidGPIO.js'); -const config = require('./custom_modules/config.json'); -const fn = require('./custom_modules/functions.js'); +const gpio = require('../custom_modules/VoidGPIO.js'); +const config = require('../custom_modules/config.json'); +const fn = require('../custom_modules/functions.js'); fn.log('Turning on igniter'); gpio.setPin(process.pinMap.get('igniter').board, 0); \ No newline at end of file diff --git a/src/_EMR/ign_on.js b/src/_EMR/ign_on.js index 8ad3d21..a77c980 100644 --- a/src/_EMR/ign_on.js +++ b/src/_EMR/ign_on.js @@ -1,7 +1,7 @@ // Import modules -const gpio = require('./custom_modules/VoidGPIO.js'); -const config = require('./custom_modules/config.json'); -const fn = require('./custom_modules/functions.js'); +const gpio = require('../custom_modules/VoidGPIO.js'); +const config = require('../custom_modules/config.json'); +const fn = require('../custom_modules/functions.js'); fn.log('Turning on igniter'); gpio.setPin(process.pinMap.get('igniter').board, 1); \ No newline at end of file diff --git a/src/_EMR/main.js b/src/_EMR/main.js index d02d86c..b211fe5 100644 --- a/src/_EMR/main.js +++ b/src/_EMR/main.js @@ -1,7 +1,7 @@ // Import modules -const gpio = require('./custom_modules/VoidGPIO.js'); -const config = require('./custom_modules/config.json'); -const fn = require('./custom_modules/functions.js'); +const gpio = require('../custom_modules/VoidGPIO.js'); +const config = require('../custom_modules/config.json'); +const fn = require('../custom_modules/functions.js'); // Auger Loop setInterval(fn.routines.cycleAuger, 2000);