Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VizBlocksFramework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Design Informatics
VizBlocks
VizBlocksFramework
Commits
def0d624
Commit
def0d624
authored
4 years ago
by
Matthew
Browse files
Options
Downloads
Patches
Plain Diff
remove default arguements from implementation
parent
e5859c88
No related branches found
No related tags found
3 merge requests
!4
Joe merge
,
!3
Doxygen Documentation
,
!2
Docs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/LEDBehaviours.cpp
+3
-3
3 additions, 3 deletions
src/LEDBehaviours.cpp
with
3 additions
and
3 deletions
src/LEDBehaviours.cpp
+
3
−
3
View file @
def0d624
#include
"LEDBehaviours.h"
NumLEDs
::
NumLEDs
(
Adafruit_NeoPixel
*
strip
,
String
name
=
"NumLEDs"
,
uint32_t
color
=
0xFFFFFFFF
)
:
NumLEDs
::
NumLEDs
(
Adafruit_NeoPixel
*
strip
,
String
name
,
uint32_t
color
)
:
Behaviour
(
name
),
_strip
(
strip
),
_color
(
color
)
{
}
...
...
@@ -24,7 +24,7 @@ char * NumLEDs::args()
{
return
"<int num_leds>"
;
};
BrightnessLEDs
::
BrightnessLEDs
(
Adafruit_NeoPixel
*
strip
,
String
name
=
"BrightnessLEDs"
,
uint32_t
hue
=
0
,
uint32_t
sat
=
0
)
:
BrightnessLEDs
::
BrightnessLEDs
(
Adafruit_NeoPixel
*
strip
,
String
name
,
uint32_t
hue
,
uint32_t
sat
)
:
Behaviour
(
name
),
_strip
(
strip
),
_hue
(
hue
),
_sat
(
sat
)
{
}
...
...
@@ -38,7 +38,7 @@ String BrightnessLEDs::start(String args)
return
""
;
};
BreathingLEDs
::
BreathingLEDs
(
Adafruit_NeoPixel
*
strip
,
String
name
=
"BreathingLEDs"
,
uint32_t
hue
=
0
,
uint32_t
sat
=
0
)
:
BreathingLEDs
::
BreathingLEDs
(
Adafruit_NeoPixel
*
strip
,
String
name
,
uint32_t
hue
,
uint32_t
sat
)
:
Behaviour
(
name
),
_strip
(
strip
),
_hue
(
hue
*
255
),
_sat
(
sat
)
{
}
...
...
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