Hello guys,
I have a problem to configure the digital output of my Analog Discovery with a custom designed/programmed signal.
I can handle the fundtions given in Waveforms and watched the tutorials.
The plan is to generate a PWM with the device in C++. As compiler I am using CodeBlocks.
I tried to generate a sine, which is given in the samples of waveforms, but right there I am stuck.
I included the samples.h and managed, that the dwf.h is included.
In Waveforms itself I only can import .txt files. Because of that I think I have to connect with the Analog Discovery with the commands out of the "WaveForms SDK Reference Manual".
After building the sample sine signal, my compiler gives me the error, that something in the dwf.h is noch correct.
The compiler is confused by the expression "DWFAPI" in every line in dwf.h. The error message is: "expected identifier or '(' before string constant".
I could not find a tutorial fiiting my problem, so I hope to find some answers or solutions right here
Thanks for help!