cancel
Showing results for 
Search instead for 
Did you mean: 

How to see a graph from an array?

JAlca
Senior

Hi all,

I'm taking a lot of readings from the ADC, and store those reads in an array (reads[2000]).

Is there a way to sohw a graph from the reads, using STMStudio or another program?

1 REPLY 1
S.Ma
Principal

no matter what you do, there will be a serial interface to push these data out of the MCU. (by debug link, by serial interface, by RF, etc...)

So you have to remember it won't be real time and you'll have to make some compromise, such as taking snapshots.

Now it depends on the speed to push these out to your eyeball through a screen.

I think you can use first the debugger which usually has a live watch window. You declare your array there and it will be probed and updated.

No graph. There should be some more advanced debug tools to view the debug variables as graphical.

In my case, as I don't have time, I used STM32 USART to HC-06 at 115200bps and use Bluetooth Electronics Android app (to me the developper has truly understood it use in applications, he deserves my congrats!) to show live graphs on a tablet or smartphone. It's a cool smart tool.