Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
MarlinKimbra
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
MarlinKimbra
Commits
2bee6e22
Commit
2bee6e22
authored
Apr 02, 2016
by
Franco (nextime) Lanza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test water cooling pwm
parent
002525cb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
Configuration_Laser.h
MK/Configuration_Laser.h
+3
-0
Configuration_Pins.h
MK/Configuration_Pins.h
+3
-3
temperature.cpp
MK/module/temperature/temperature.cpp
+6
-0
No files found.
MK/Configuration_Laser.h
View file @
2bee6e22
...
...
@@ -21,6 +21,9 @@
#define LASER_WATER_COOLING
#define LASER_WATER_MAXTEMP 25
// Uncomment the following to enable LASER_WATER_COOLING PWM instead of bang-bang
#define LASER_PWM
#define LASER_PWM_FREQUENCY 1000 // Frequency in Hz
//// The following defines select which G codes tell the laser to fire. It's OK to uncomment more than one.
#define LASER_FIRE_G1 10 // fire the laser on a G1 move, extinguish when the move ends
...
...
MK/Configuration_Pins.h
View file @
2bee6e22
...
...
@@ -119,11 +119,11 @@
#endif // LASER_POWER_DOWN
#if ENABLED(LASER_PERIPHERALS)
#define LASER_PERIPHERALS_PIN 11
#define LASER_PERIPHERALS_STATUS_PIN
32
#define LASER_PERIPHERALS_STATUS_PIN
4
#endif // LASER_PERIPHERALS
#if ENABLED(LASER_WATER_COOLING)
#define LASER_WATER_COOLING_PIN
4
#endif
#define LASER_WATER_COOLING_PIN
1
#endif
// LASER WATER_COOLING
#endif
...
...
MK/module/temperature/temperature.cpp
View file @
2bee6e22
...
...
@@ -990,6 +990,12 @@ void tp_init() {
#endif
#endif
#if ENABLED(LASER_WATER_COOLING)
SET_OUTPUT
(
LASER_WATER_COOLING_PIN
);
setPwmFrequency
(
LASER_WATER_COOLING_PIN
,
1
);
analogWrite
(
LASER_WATER_COOLING_PIN
,
128
);
#endif
#if ENABLED(HEATER_0_USES_MAX6675)
#if DISABLED(SDSUPPORT)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment