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
8c74e55b
Commit
8c74e55b
authored
Oct 13, 2022
by
Stefan Gehr
Browse files
Options
Downloads
Patches
Plain Diff
merge
parent
7f4e0ed0
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
solarpump/solarpump.ino
+13
-33
13 additions, 33 deletions
solarpump/solarpump.ino
with
13 additions
and
33 deletions
solarpump/solarpump.ino
+
13
−
33
View file @
8c74e55b
...
@@ -170,49 +170,29 @@ void setup(void) {
...
@@ -170,49 +170,29 @@ void setup(void) {
pinMode
(
BUTTON
,
INPUT_PULLUP
);
pinMode
(
BUTTON
,
INPUT_PULLUP
);
}
}
<<<<<<<
HEAD
void
sayInfos
(
float
temp1up
,
float
temp1down
,
float
temp2up
,
float
temp2down
,
uint8_t
comma
)
=======
// say out all the relevant infos via the loudspeaker
// say out all the relevant infos via the loudspeaker
void
sayInfos
(
float
t1up_C
,
float
t1down_C
,
float
t2up_C
,
float
t2down_C
)
void
sayInfos
(
float
temp1up
,
float
temp1down
,
float
temp2up
,
float
temp2down
)
>>>>>>>
5798
fb6b122134e1e016b6e47ca39eb79566fdc7
{
{
const
uint8_t
decimals
=
0
;
const
uint8_t
decimals
=
0
;
playFileQueue
(
SOUND_EINS
);
playFileQueue
(
SOUND_EINS
);
playFileQueue
(
SOUND_OBEN
);
playFileQueue
(
SOUND_OBEN
);
<<<<<<<
HEAD
sayNumber
(
temp1up
,
decimals
);
sayNumber
(
temp1up
,
nachKommaStellen
);
playFileQueue
(
SOUND_STILLE
);
playFileQueue
(
SOUND_STILLE
);
playFileQueue
(
SOUND_EINS
);
playFileQueue
(
SOUND_EINS
);
playFileQueue
(
SOUND_UNTEN
);
playFileQueue
(
SOUND_UNTEN
);
sayNumber
(
temp1down
,
nachKommaStellen
);
sayNumber
(
temp1down
,
decimals
);
playFileQueue
(
SOUND_STILLE
);
playFileQueue
(
SOUND_STILLE
);
playFileQueue
(
SOUND_ZWEI
);
playFileQueue
(
SOUND_ZWEI
);
playFileQueue
(
SOUND_OBEN
);
playFileQueue
(
SOUND_OBEN
);
sayNumber
(
temp2up
,
nachKommaStellen
);
sayNumber
(
temp2up
,
decimals
);
playFileQueue
(
SOUND_STILLE
);
playFileQueue
(
SOUND_STILLE
);
playFileQueue
(
SOUND_ZWEI
);
playFileQueue
(
SOUND_ZWEI
);
playFileQueue
(
SOUND_UNTEN
);
playFileQueue
(
SOUND_UNTEN
);
sayNumber
(
temp2down
,
nachKommaStellen
);
sayNumber
(
temp2down
,
decimals
);
playFileQueue
(
SOUND_STILLE
);
playFileQueue
(
SOUND_STILLE
);
=======
sayNumber
(
t1up_C
,
decimals
);
playFileQueue
(
SOUND_EINS
);
playFileQueue
(
SOUND_UNTEN
);
sayNumber
(
t1down_C
,
decimals
);
playFileQueue
(
SOUND_ZWEI
);
playFileQueue
(
SOUND_OBEN
);
sayNumber
(
t2up_C
,
decimals
);
playFileQueue
(
SOUND_ZWEI
);
playFileQueue
(
SOUND_UNTEN
);
sayNumber
(
t2down_C
,
decimals
);
>>>>>>>
5798
fb6b122134e1e016b6e47ca39eb79566fdc7
if
(
digitalRead
(
PUMP1
))
if
(
digitalRead
(
PUMP1
))
{
{
...
...
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