Skip to content

Commit 726faf5

Browse files
authored
Dual dew heater (#146)
* Add HE1 to Dew Heater
1 parent 7da7f54 commit 726faf5

File tree

6 files changed

+22
-9
lines changed

6 files changed

+22
-9
lines changed

Changelog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
**V1.9.37 - Updates**
2+
- Add HE1 to dew heater output for MKS boards
3+
14
**V1.9.36 - Updates**
25
- Removed auto-homing code that was based on stall guard
36
- Converted Hall sensor based auto homing to be asynchronous (via state machine) instead of blocking
@@ -6,7 +9,7 @@
69

710
**V1.9.35 - Updates**
811
- Enable configuration of hold current setting for AZ and ALT steppers when always energized
9-
.
12+
1013
**V1.9.34 - Updates**
1114
- Added two Meade commands: :XGDP# and :XSDPnnn# to retrieve and set the DEC parking offset.
1215
- Fixed a bug that incorrectly returned a Homing status when the Hall sensor was enabled.

Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
// So 1.8.99 is ok, but 1.8.234 is not. Neither is 1.123.22
33
// Also, numbers are interpreted as simple numbers. _ __ _
44
// So 1.8 is actually 1.08, meaning that 1.12 is a later version than 1.8. \_(..)_/
5-
#define VERSION "V1.9.36"
5+
#define VERSION "V1.9.37"

boards/AVR_MKS_GEN_L_V1/pins_MKS_GEN_L_V1.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@
181181
#endif
182182

183183
//Pin to turn on dew heater MOSFET
184-
#ifndef DEW_HEATER_PIN
185-
#define DEW_HEATER_PIN 10
184+
#ifndef DEW_HEATER_PIN1
185+
#define DEW_HEATER_1_PIN 10
186+
#endif
187+
#ifndef DEW_HEATER_PIN2
188+
#define DEW_HEATER_2_PIN 7
186189
#endif

boards/AVR_MKS_GEN_L_V2/pins_MKS_GEN_L_V2.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,9 @@
236236
#endif
237237

238238
//Pin to turn on dew heater MOSFET
239-
#ifndef DEW_HEATER_PIN
240-
#define DEW_HEATER_PIN 10
239+
#ifndef DEW_HEATER_PIN1
240+
#define DEW_HEATER_1_PIN 10
241+
#endif
242+
#ifndef DEW_HEATER_PIN2
243+
#define DEW_HEATER_2_PIN 7
241244
#endif

boards/AVR_MKS_GEN_L_V21/pins_MKS_GEN_L_V21.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@
244244
#endif
245245

246246
//Pin to turn on dew heater MOSFET
247-
#ifndef DEW_HEATER_PIN
248-
#define DEW_HEATER_PIN 10
247+
#ifndef DEW_HEATER_PIN1
248+
#define DEW_HEATER_1_PIN 10
249+
#endif
250+
#ifndef DEW_HEATER_PIN2
251+
#define DEW_HEATER_2_PIN 7
249252
#endif

src/b_setup.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,8 @@ void setup()
106106

107107
//Turn on dew heater
108108
#if DEW_HEATER == 1
109-
digitalWrite(DEW_HEATER_PIN, HIGH);
109+
digitalWrite(DEW_HEATER_1_PIN, HIGH);
110+
digitalWrite(DEW_HEATER_2_PIN, HIGH);
110111
#endif
111112

112113
/////////////////////////////////

0 commit comments

Comments
 (0)