Expand emr mode
This commit is contained in:
parent
a263a26c38
commit
7cb59cda01
7
src/_EMR/ign_off.js
Normal file
7
src/_EMR/ign_off.js
Normal file
@ -0,0 +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');
|
||||||
|
|
||||||
|
fn.log('Turning on igniter');
|
||||||
|
gpio.setPin(process.pinMap.get('igniter').board, 0);
|
7
src/_EMR/ign_on.js
Normal file
7
src/_EMR/ign_on.js
Normal file
@ -0,0 +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');
|
||||||
|
|
||||||
|
fn.log('Turning on igniter');
|
||||||
|
gpio.setPin(process.pinMap.get('igniter').board, 1);
|
Loading…
Reference in New Issue
Block a user