Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arduino-block-course
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stefan Gehr
arduino-block-course
Commits
c229826e
Commit
c229826e
authored
2 years ago
by
Mario Engelmann
Browse files
Options
Downloads
Patches
Plain Diff
small adjustments
parent
5660ea68
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
solarpump/solarpump.ino
+6
-6
6 additions, 6 deletions
solarpump/solarpump.ino
with
6 additions
and
6 deletions
solarpump/solarpump.ino
+
6
−
6
View file @
c229826e
...
...
@@ -170,23 +170,23 @@ void setup(void) {
pinMode
(
BUTTON
,
INPUT_PULLUP
);
}
void
sayInfos
(
void
)
void
sayInfos
(
float
temp1up
,
float
temp1down
,
float
temp2up
,
float
temp2down
)
{
playFileQueue
(
SOUND_EINS
);
playFileQueue
(
SOUND_OBEN
);
sayNumber
(
t1up
_C
,
nachKommaStellen
);
sayNumber
(
t
emp
1up
,
nachKommaStellen
);
playFileQueue
(
SOUND_EINS
);
playFileQueue
(
SOUND_UNTEN
);
sayNumber
(
t1down
_C
,
nachKommaStellen
);
sayNumber
(
t
emp
1down
,
nachKommaStellen
);
playFileQueue
(
SOUND_ZWEI
);
playFileQueue
(
SOUND_OBEN
);
sayNumber
(
t2up
_C
,
nachKommaStellen
);
sayNumber
(
t
emp
2up
,
nachKommaStellen
);
playFileQueue
(
SOUND_ZWEI
);
playFileQueue
(
SOUND_UNTEN
);
sayNumber
(
t2down
_C
,
nachKommaStellen
);
sayNumber
(
t
emp
2down
,
nachKommaStellen
);
if
(
digitalRead
(
PUMP1
))
{
...
...
@@ -233,7 +233,7 @@ void loop(void) {
if
(
checkButton
()
==
LOW
)
{
displayLight
(
true
);
sayInfos
();
sayInfos
(
t1up_C
,
t1down_C
,
t2up_C
,
t2down_C
,
nachKommaStellen
);
}
else
{
displayLight
(
false
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment