Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Skyward Boardcore
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
Model registry
Analyze
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
Avionics
Software Development
Skyward Boardcore
Wiki
LED Driver
Changes
Page history
New page
Templates
Clone repository
Update LED Driver
authored
3 years ago
by
Luca Conterio
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
LED-Driver.md
+34
-32
34 additions, 32 deletions
LED-Driver.md
with
34 additions
and
32 deletions
LED-Driver.md
View page @
459cbe46
...
@@ -29,6 +29,7 @@ In it, create a file called `SimpleLed.h` and write:
...
@@ -29,6 +29,7 @@ In it, create a file called `SimpleLed.h` and write:
* THE SOFTWARE.
* THE SOFTWARE.
*/
*/
// Header guards : alternativeley use "#pragma once"
#ifndef SIMPLE_LED_H
#ifndef SIMPLE_LED_H
#define SIMPLE_LED_H
#define SIMPLE_LED_H
...
@@ -68,6 +69,7 @@ class SimpleLed
...
@@ -68,6 +69,7 @@ class SimpleLed
protected
:
protected
:
// Nothing here
// Nothing here
private
:
private
:
bool
state
;
bool
state
;
...
...
This diff is collapsed.
Click to expand it.