Slow PWM drive to reduce some handle heating, Improve PWM power for ts80, add ts80 pulse for keep awake
This commit is contained in:
@@ -11,9 +11,10 @@
|
||||
#ifndef POWER_HPP_
|
||||
#define POWER_HPP_
|
||||
|
||||
const uint8_t hz = 32;
|
||||
const uint8_t oscillationPeriod = 3.5 * hz;
|
||||
const uint8_t hz = 32;//PID loop rate
|
||||
const uint8_t oscillationPeriod = 3.5 * hz; // dampening look back tuning
|
||||
extern history<uint16_t, oscillationPeriod> milliWattHistory;
|
||||
void setupPower(uint8_t resistance);
|
||||
|
||||
int32_t tempToMilliWatts(int32_t rawTemp, uint16_t mass, uint8_t rawC);
|
||||
void setTipMilliWatts(int32_t mw);
|
||||
|
||||
Reference in New Issue
Block a user