Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Luiz Fernando Lavado Villa
OPALIB Quick Start
Commits
904f91be
Commit
904f91be
authored
Jul 16, 2021
by
Clément Foucher
Browse files
Add constant generation on DAC2 required for the new board.
parent
c1c4b423
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/opalib_quick_start.c
View file @
904f91be
...
...
@@ -28,6 +28,7 @@
#include "timer.h"
#include "hrtim.h"
#include "data_acquisition.h"
#include "dac.h"
/////
...
...
@@ -66,6 +67,9 @@ void opalib_quick_start_init_voltage(void (*periodic_task)(), uint32_t task_peri
// HRTIM
hrtim_init_voltage
();
// DAC
owntech_dac_dac2_constant_init
();
// User task
if
(
periodic_task
!=
NULL
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment