• AVR Freaks

AnsweredHot!Make a graph

Author
randalph
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2020/04/27 01:58:46
  • Location: 0
  • Status: offline
2020/05/13 10:53:52 (permalink)
0

Make a graph

Hi,
I have programmed some arrays in MPLAB XIDE16, can someone tell me how can I make a graph with the values stored in the array?
 
Thank you
#1
crosland
Super Member
  • Total Posts : 2017
  • Reward points : 0
  • Joined: 2005/05/10 10:55:05
  • Location: Warks, UK
  • Status: offline
Re: Make a graph 2020/05/13 12:36:04 (permalink) ☼ Best Answerby randalph 2020/05/14 09:01:36
4 (1)
I don't know what MPLAB XIDE16 is.
 
Do you mean you have used the MPLAB X IDE to write some C code?
 
Did you then compile it with XC16?
 
Did you download the compiled code to a PIC and run it to create the data in the arrays?
 
There are various ways to look at the arrays. E.g. set a breakpoint in your code and use the watch window. I believe you can export the data and then perhaps import it into Excel or Open Office and plot a graph.
 
#2
NKurzman
A Guy on the Net
  • Total Posts : 18860
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: online
Re: Make a graph 2020/05/13 19:39:28 (permalink)
4.5 (2)
Make a Graph where?  On What?
#3
randalph
New Member
  • Total Posts : 6
  • Reward points : 0
  • Joined: 2020/04/27 01:58:46
  • Location: 0
  • Status: offline
Re: Make a graph 2020/05/14 09:02:31 (permalink)
0
Si perdona quería decir que he usado IDE MPLAB X y lo compilo en XC16
 
Muchas gracias
#4
ric
Super Member
  • Total Posts : 28026
  • Reward points : 0
  • Joined: 2003/11/07 12:41:26
  • Location: Australia, Melbourne
  • Status: online
Re: Make a graph 2020/05/14 13:32:46 (permalink)
0
Google translate from Spanish

If you are sorry I meant that I have used IDE MPLAB X and compile it on XC16
 
Thank you

This only answered the first question in post#2, and none in post#3.
 

I also post at: PicForum
Links to useful PIC information: http://picforum.ric323.co...opic.php?f=59&t=15
NEW USERS: Posting images, links and code - workaround for restrictions.
To get a useful answer, always state which PIC you are using!
#5
Jump to:
© 2020 APG vNext Commercial Version 4.5