Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
On-Board Software
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
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
On-Board Software
Commits
e89530bd
Commit
e89530bd
authored
2 years ago
by
Alberto Nidasio
Browse files
Options
Downloads
Patches
Plain Diff
[Buzzer] Tuned volume
parent
989dcf84
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/boards/Main/Configs/ActuatorsConfigs.h
+7
-1
7 additions, 1 deletion
src/boards/Main/Configs/ActuatorsConfigs.h
with
7 additions
and
1 deletion
src/boards/Main/Configs/ActuatorsConfigs.h
+
7
−
1
View file @
e89530bd
...
...
@@ -60,7 +60,13 @@ constexpr float DPL_WIGGLE_TIME = 5 * 1000; // [ms]
TIM_TypeDef
*
const
BUZZER_TIMER
=
TIM8
;
constexpr
Boardcore
::
TimerUtils
::
Channel
BUZZER_CHANNEL
=
Boardcore
::
TimerUtils
::
Channel
::
CHANNEL_1
;
#ifdef BUZZER_LOW
constexpr
float
BUZZER_DUTY_CYCLE
=
0.05
;
#else
constexpr
float
BUZZER_DUTY_CYCLE
=
0.5
;
#endif
constexpr
uint16_t
BUZZER_FREQUENCY
=
5000
;
// [Hz]
constexpr
uint16_t
BUZZER_TASK_PERIOD
=
100
;
// [ms]
constexpr
uint16_t
BUZZER_ERROR_PERIOD
=
100
;
// [ms]
...
...
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