#inlcude <complex.h>

Topics for the Eclipse Environment
Post Reply
rfmatchguy
Posts: 4
Joined: Wed Apr 22, 2009 9:07 pm

#inlcude <complex.h>

Post by rfmatchguy »

I didn't see a complex.h library.
Is there any way of getting this functionality for the Netburner?
Maybe there is a way to import from the GNU compiler?

Just converting R and X into VSWR and Gamma...

Also, has anyone made a web app for Netburner to display a Smith chart?
Any help much appreciated.
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: #inlcude <complex.h>

Post by Ridgeglider »

see C:\Nburn\gcc-m68k\m68k-elf\include\c++\4.2.1\backward\complex.h
also see complex.html in C:\nburn\gcc-m68k\share\doc\freescale-coldfire-4.2-8-m68k-elf\html\gcc
User avatar
Forrest
Posts: 283
Joined: Wed Apr 23, 2008 10:05 am

Re: #inlcude <complex.h>

Post by Forrest »

rfmatchguy wrote:Also, has anyone made a web app for Netburner to display a Smith chart?
Any help much appreciated.
I've never used a smith chart, but if you can figure out the X and Y coordinate of your point (with whatever function you'd need to use to do this), you can superimposed those points on top of a static image of a smith chart using AJAX.

I used this method to plot satellites on a GPS sphere map. You can see this at http://demo.netburner.com:84/status.html. The source for this is posted in the application examples subforum.
Forrest Stanley
Project Engineer
NetBurner, Inc

NetBurner Learn Articles: http://www.netburner.com/learn
Post Reply