2 years, 5 months ago.

How can I recieve information from a computer to control my F446RE?

I have an exe program on my compter which outputs information through the serial function of the 'processing3' IDE. I would like for this information to be recieved through the USB cable connected to the F446RE and to be inputted into a variable in my nucleo code. How is this possible? If you can show me, you will be my best friend.

Comment on this question

1 Answer

2 years, 5 months ago.

Hi,

Please verifiy those links: Getting the most out of the USB connection https://docs.mbed.com/docs/mbed-os-handbook/en/latest/getting_started/serial_communication/

BufferedSerial https://developer.mbed.org/users/sam_grove/code/BufferedSerial/

The BufferedSerial is the library that I use the most in order to get data from a Serial Port.

Best Regards


You need to log in to post a question