Enable and disable power supply automatically

This commit is contained in:
Christopher Reimer 2017-02-20 22:07:23 +01:00 committed by Scott Lahteine
parent 80946a17ee
commit 254417e8b0
8 changed files with 215 additions and 5 deletions

View file

@ -236,6 +236,15 @@
// Enable this option to leave the PSU off at startup.
// Power to steppers and heaters will need to be turned on with M80.
//#define PS_DEFAULT_OFF
//#define AUTO_POWER_CONTROL // Enable automatic control of the PS_ON pin
#if ENABLED(AUTO_POWER_CONTROL)
#define AUTO_POWER_FANS // Turn on PSU if fans need power
#define AUTO_POWER_E_FANS
#define AUTO_POWER_CONTROLLERFAN
#define POWER_TIMEOUT 30
#endif
#endif
// @section temperature