Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
brew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
João Lino
brew
Commits
ed255e4e
Commit
ed255e4e
authored
Feb 11, 2018
by
João Lino
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added soft heating element disable feature. Used for testing
parent
1d6b0b27
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
brew.ino
brew.ino
+6
-2
No files found.
brew.ino
View file @
ed255e4e
...
...
@@ -6,6 +6,7 @@
//#define DEBUG
#define INFO
#define HEATING_ELEMENT_ALWAYS_OFF
// ######################### LIBRARIES #########################
#include "brew.h"
...
...
@@ -90,6 +91,11 @@ volatile boolean onISR = false;
unsigned
long
rotarySwDetectTime
;
// ++++++++++++++++++++++++ Heating Element Relay ++++++++++++++++++++++++
#ifdef HEATING_ELEMENT_ALWAYS_OFF
HeatingElement
heatingElement
(
HEATING_ELEMENT_OUTPUT_PIN
,
LOW
,
LOW
);
#else
HeatingElement
heatingElement
(
HEATING_ELEMENT_OUTPUT_PIN
,
LOW
,
HIGH
);
#endif
/*
int iWindowSize; // Time frame to operate in
unsigned long windowStartTime;
...
...
@@ -121,8 +127,6 @@ Temperature downPT100("down",
PT100_DOWN_TIME_BETWEEN_READINGS
,
2.0309
,
2.0288
,
658.15
,
655.35
);
HeatingElement
heatingElement
(
HEATING_ELEMENT_OUTPUT_PIN
,
LOW
,
HIGH
);
// ######################### INTERRUPTS #########################
void
isr
()
{
// Interrupt service routine is executed when a HIGH to LOW transition is detected on CLK
unsigned
long
interruptTime
=
millis
();
...
...
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