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
2 years ago
by
Angelo Zangari
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LED-Driver.md
+1
-1
1 addition, 1 deletion
LED-Driver.md
with
1 addition
and
1 deletion
LED-Driver.md
View page @
509d261c
...
...
@@ -82,7 +82,7 @@ class SimpleLed
Please note a few things that are part of our
[
coding standards
](
Coding-Guidelines
)
:
-
Copyright at the start (write your name in the authors and the right date)
-
`#pragma once`
directive, to prevent multiple re-inclusions
-
`#include <
Common
.h>`
, a bunch of useful includes :)
-
`#include <
miosix
.h>`
, a bunch of useful includes :)
-
`namespace Boardcore`
, to avoid name collisions
-
`typedef miosix::Gpio<XXX, YYY>`
is how GPIO pins are declared in Miosix:
`<GPIOD_BASE, 14>`
means pin
`PD14`
of the discovery board
-
Comments on top of the class and before each function, with a description of the argument and/or the return value
...
...
This diff is collapsed.
Click to expand it.