2023-02-15 10:57 AM
Hello,
Probably it is a simple question but I got a syntax error of HAL DAC function? Do you have an idea about the problem?
Solved! Go to Solution.
2023-02-22 08:47 AM
Thank you @KnarfB and @Piranha for your responses! I fixed the problem with placing the DAC initialization in user code begin_2 section.
2023-02-15 11:18 AM
There is probably a syntax error above which is not shown or not detectable by the compiler like an extra/missing { or comment or such because the error text talks about a "declaration".
hth
KnarfB
2023-02-19 12:09 PM
Start fixing the code with the first error, because the rest can be just a consequence of the first one.
2023-02-22 08:47 AM
Thank you @KnarfB and @Piranha for your responses! I fixed the problem with placing the DAC initialization in user code begin_2 section.