Fix imports for EMR
This commit is contained in:
parent
7cb59cda01
commit
55bcbb16eb
@ -1,7 +1,7 @@
|
|||||||
// Import modules
|
// Import modules
|
||||||
const gpio = require('./custom_modules/VoidGPIO.js');
|
const gpio = require('../custom_modules/VoidGPIO.js');
|
||||||
const config = require('./custom_modules/config.json');
|
const config = require('../custom_modules/config.json');
|
||||||
const fn = require('./custom_modules/functions.js');
|
const fn = require('../custom_modules/functions.js');
|
||||||
|
|
||||||
fn.log('Turning on igniter');
|
fn.log('Turning on igniter');
|
||||||
gpio.setPin(process.pinMap.get('igniter').board, 0);
|
gpio.setPin(process.pinMap.get('igniter').board, 0);
|
@ -1,7 +1,7 @@
|
|||||||
// Import modules
|
// Import modules
|
||||||
const gpio = require('./custom_modules/VoidGPIO.js');
|
const gpio = require('../custom_modules/VoidGPIO.js');
|
||||||
const config = require('./custom_modules/config.json');
|
const config = require('../custom_modules/config.json');
|
||||||
const fn = require('./custom_modules/functions.js');
|
const fn = require('../custom_modules/functions.js');
|
||||||
|
|
||||||
fn.log('Turning on igniter');
|
fn.log('Turning on igniter');
|
||||||
gpio.setPin(process.pinMap.get('igniter').board, 1);
|
gpio.setPin(process.pinMap.get('igniter').board, 1);
|
@ -1,7 +1,7 @@
|
|||||||
// Import modules
|
// Import modules
|
||||||
const gpio = require('./custom_modules/VoidGPIO.js');
|
const gpio = require('../custom_modules/VoidGPIO.js');
|
||||||
const config = require('./custom_modules/config.json');
|
const config = require('../custom_modules/config.json');
|
||||||
const fn = require('./custom_modules/functions.js');
|
const fn = require('../custom_modules/functions.js');
|
||||||
|
|
||||||
// Auger Loop
|
// Auger Loop
|
||||||
setInterval(fn.routines.cycleAuger, 2000);
|
setInterval(fn.routines.cycleAuger, 2000);
|
||||||
|
Loading…
Reference in New Issue
Block a user