STM32F746DISCO USB CDC won't transmit from main.c file
I followed This Youtube Video from ST for setting up USB CDC in the hopes I can pass data from a sensor through to my PC for processing. The video demonstrated how to echo back messages in the `usbd_cdc_if.c` file which worked and I could send and receive the same message using Hercules SETUP serial port monitor. I can't seem to get CDC_Transmit_FS() to send data other than echoing messages back. I've read that it could cause a USB lock as the device needs to be queried by the host but then This Video shows sending data straight from the Main loop. I'm new to STM32 but I feel like Transmitting bytes over Serial shouldn't be this mysterious and there isn't much content online for this board. Any suggestions or experience with this issue is welcome and thanks. I haven't included any files as I get no errors and haven't a clue what would be useful to include
Configuration:
STM32F746DISCO
Windows 11
