I am working on a project with my partner, and I have the part of the desktop application. I am creating a WPF Application, which will send data(values of the outputs of the board) to a board through a USB cable. We are using the STM32F407VG. I have already designed the UI of the app. So, now, I want to achieve the communication between the app and the board. At first, I want to send just a simple on/off data to a led on the board, just by clicking a button.
My device need to be a HID device. Moreover, how can find functions from a library which will send data to the board pins? For example, to light up a LED or to produce an analog, digital or PWM output.
What I have tried:
I've tried to add as reference in my project a usblibrary but I couldn't manage to communicate with my board. I don't know where to start from. Is there any tutorial, or something I should read about? What options do I have to follow? Using a library? How to get started with this? I would appreciate anything that could help me.
Thanks in advance!