?
This commit is contained in:
parent
b374dd1d6c
commit
caedbda8c2
@ -13,6 +13,9 @@ setInterval(fn.routines.cycleAuger, 2000);
|
|||||||
fn.log('Setting exhaust to low to keep NC relay closed and fan running');
|
fn.log('Setting exhaust to low to keep NC relay closed and fan running');
|
||||||
gpio.setPin(process.pinMap.get('exhaust').board, 0);
|
gpio.setPin(process.pinMap.get('exhaust').board, 0);
|
||||||
|
|
||||||
|
fn.log('Enabling auger');
|
||||||
|
process.psState.auger.on = true;
|
||||||
|
|
||||||
process.on('SIGINT', () => {
|
process.on('SIGINT', () => {
|
||||||
fn.log(`Exiting gracefully...`);
|
fn.log(`Exiting gracefully...`);
|
||||||
gpio.setPin(process.pinMap.get('auger').board, 0);
|
gpio.setPin(process.pinMap.get('auger').board, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user