I2C_AMMETER for Laser

MarlinFirmware/Marlin#21835
This commit is contained in:
Scott Lahteine 2021-06-08 05:23:26 -05:00
parent a040c20bf9
commit 96bdb2f531
244 changed files with 2684 additions and 244 deletions

View file

@ -3415,8 +3415,18 @@
#define SPINDLE_LASER_POWERDOWN_DELAY 50 // (ms) Delay to allow the spindle to stop
#endif
//
// Laser I2C Ammeter (High precision INA226 low/high side module)
//
//#define I2C_AMMETER
#if ENABLED(I2C_AMMETER)
#define I2C_AMMETER_IMAX 0.1 // (Amps) Calibration value for the expected current range
#define I2C_AMMETER_SHUNT_RESISTOR 0.1 // (Ohms) Calibration shunt resistor value
#endif
#endif
#endif
#endif // SPINDLE_FEATURE || LASER_FEATURE
/**
* Synchronous Laser Control with M106/M107