mirror of
https://github.com/arwidcool/Solder-Plate.git
synced 2025-02-17 19:09:23 +01:00
Merge
This commit is contained in:
parent
fd71798a7b
commit
0784fbddd6
@ -56,7 +56,7 @@ int nReflowProfiles = 3;
|
||||
ReflowProfile reflowProfiles[] = {
|
||||
// 138c profile Sn42Bi58
|
||||
ReflowProfile(new ReflowStep[5]{
|
||||
ReflowStep(ReflowProcessState::PREHEAT, 120, 35, EASE_OUT),
|
||||
ReflowStep(ReflowProcessState::PREHEAT, 120, 100, EASE_OUT),
|
||||
ReflowStep(ReflowProcessState::SOAK, 90, 155),
|
||||
ReflowStep(ReflowProcessState::REFLOW, 45, 185, EASE_OUT),
|
||||
ReflowStep(ReflowProcessState::COOL, 45, 155, EASE_OUT),
|
||||
|
@ -105,8 +105,11 @@ void loop()
|
||||
|
||||
if (state >= ReflowProcessState::PREHEAT && state <= ReflowProcessState::COOL)
|
||||
{
|
||||
|
||||
|
||||
pidController.loop();
|
||||
ReflowStep step = chosenReflowProfile.reflowStep();
|
||||
// Here we draw the actual temp vs time to the display
|
||||
|
||||
if (step.state != newState)
|
||||
{
|
||||
|
11
src/reflow.h
11
src/reflow.h
@ -187,9 +187,18 @@ public:
|
||||
uint32_t elapsedMS = timer.elapsed();
|
||||
uint16_t startTimeMS = startTimes[STEPINDEX(reflowStep())] * 1000;
|
||||
return (elapsedMS - startTimeMS) / 1000;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void toBuffer(uint8_t *b)
|
||||
{
|
||||
memset(b, 0, PROFILE_SERIALIZED_SIZE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user