Skip to content

Commit

Permalink
v4.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Eddddddddy committed Jul 28, 2023
1 parent d1d3e12 commit c276147
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
18 changes: 10 additions & 8 deletions SolderingPen_ESP32S2/SolderingPen_ESP32S2.ino
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ void setup() {
digitalWrite(PD_CFG_1, HIGH);
digitalWrite(PD_CFG_2, LOW);

pinMode(14, INPUT);
pinMode(13, INPUT);
// pinMode(14, INPUT);
// pinMode(13, INPUT);
// QC.set12V();
Serial.begin(115200);
// delay(5000);
Expand Down Expand Up @@ -199,19 +199,21 @@ void setup() {
pinMode(PD_CFG_2, OUTPUT);

if (QCEnable) {
QC.begin();
delay(100);
switch (VoltageValue) {
case 0:
case 0:{
QC.set9V();
break;
case 1:
}break;
case 1:{
QC.set12V();
break;
}break;
case 2: {
QC.set12V();
} break;
case 3:
case 3:{
QC.set20V();
break;
}break;
default:
break;
}
Expand Down
2 changes: 1 addition & 1 deletion SolderingPen_ESP32S2/config.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Firmware version
#define VERSION "v4.3.1" //20230524
#define VERSION "v4.3.2" //20230612
#define VERSION_NUM 422

// Type of MOSFET
Expand Down

0 comments on commit c276147

Please sign in to comment.