I just started working with Hid class to communicate via USB with STM32F103VB. I managed to send few bytes of data at once using
UserToPMABufferCopy(Send_Buffer, ENDP1_TXADDR, 5);
where Send_Buffer is declared as
It works fine but is there a simple way to send floats or double variables in a simple way or do I have to make a conversion from seperate bytes to a variable I want to send? I'm real beginner so sorry if this is a silly qustion :)
Thanks in advance.