This commit is contained in:
Skylar Grant 2024-11-24 18:13:03 -05:00
parent b374dd1d6c
commit caedbda8c2

View File

@ -13,6 +13,9 @@ setInterval(fn.routines.cycleAuger, 2000);
fn.log('Setting exhaust to low to keep NC relay closed and fan running');
gpio.setPin(process.pinMap.get('exhaust').board, 0);
fn.log('Enabling auger');
process.psState.auger.on = true;
process.on('SIGINT', () => {
fn.log(`Exiting gracefully...`);
gpio.setPin(process.pinMap.get('auger').board, 0);