-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
3,101 additions
and
1,213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
.pioenvs | ||
.piolibdeps | ||
.clang_complete | ||
.gcc-flags.json | ||
.pio | ||
.vscode | ||
.DS_Store | ||
.idea | ||
.lnk | ||
temp/ | ||
platformio_*.ini | ||
SolderingPen_ESP32S2/build | ||
SolderingPen_ESP32S2/.idea | ||
SolderingPen_ESP32S2/config_*.h |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
This file is a part of ESPIron-PTS200 project | ||
https://github.com/vortigont/ESPIron-PTS200 | ||
Copyright © 2024 Emil Muratov (vortigont) | ||
ESPIron-PTS200 is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
*/ | ||
#pragma once | ||
#if defined CUSTOM_CFG | ||
# include CUSTOM_CFG | ||
#warning "include custom cfg file" | ||
#else | ||
#include "config.h" | ||
#endif | ||
#include <stdint.h> | ||
|
||
enum class ironState_t { | ||
idle = 0, // everything is on, exept heater, Iron is in idle state, i.e. it was just powered ON | ||
working, // everything is on, full function | ||
standby, // heater is in standby mode, i.e. keeping warm after a certain period of inactivity | ||
suspend, // hibernation mode | ||
boost, // heater temperature is increased for a short period of time | ||
setup, // iron is configuration mode, i.e. working with screen menu, heater switches off | ||
notip // tip is missing or failed | ||
|
||
}; | ||
|
||
// working temperature values | ||
struct Temperatures { | ||
int32_t working{TEMP_DEFAULT}, standby{TEMP_SLEEP}, boost{TEMP_BOOST}, deflt{TEMP_DEFAULT}; | ||
bool savewrk{false}; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.