Skip to content
GitLab
Explore
Sign in
Register
Changes
Page history
Update LED Driver
authored
Sep 29, 2021
by
Luca Conterio
Show whitespace changes
Inline
Side-by-side
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
;
...
...