I have written a dsPIC program to output a PWM corresponding to a sinewave. Now I would like to get some variables from this program and transmit them using UART to PC for analysis/plotting in Matlab or an other software. I have already succeeded to convert a variable to a string and transmit this string using UART to PC and then reading it using Tera Term. But I'm limited in the frequency that I can sample this variable to send to UART, mainly because of the baud rate of UART and of the conversion process from an integer to string is a bit lengthy. This will get problematic if I need to output more variables for analysis, like 4 different variables which each need to be converted to string and transmitted. Now I was thinking to as least decrease the conversion time by eliminating the conversion, if possible, and instead send an integer directly from the dsPIC development board to the PC.