Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:06 05 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : CFunctions, Where’s the Library?

Author Message
redrok

Senior Member

Joined: 15/09/2014
Location: United States
Posts: 209
Posted: 05:32am 08 Nov 2016
Copy link to clipboard 
Print this post

Hi All;
I can't find a listing of all the CFunctions.
I thought there was a library of uMITE code and CFunctions?

redrok
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 08:23am 08 Nov 2016
Copy link to clipboard 
Print this post

I've collected a few on my CG site. I'd be happy to collect more if I can get permission to repost the libraries. I'd like it if the authors would help with this by providing the most recent code and descriptions.


Micromites and Maximites! - Beginning Maximite
 
Justplayin

Guru

Joined: 31/01/2014
Location: United States
Posts: 327
Posted: 12:05pm 08 Nov 2016
Copy link to clipboard 
Print this post

Did you mean CFunctions.h? It's included in the firmware update zip in one of the sub folders.

--Curtis
I am not a Mad Scientist...  It makes me happy inventing new ways to take over the world!!
 
redrok

Senior Member

Joined: 15/09/2014
Location: United States
Posts: 209
Posted: 03:37pm 08 Nov 2016
Copy link to clipboard 
Print this post

Hi Justplayin
  Justplayin said   Did you mean CFunctions.h?
It's included in the firmware update zip in one of the sub folders.

--Curtis

I'm not sure. I really don't know what I'm doing yet.

I have uMite II 5.2
I can't find very many CFunctions in my firmware about 10 or so.
They are in PDF files. I thought there have been a lot more
I don't see "CFunctions.h"

I thought there was a library where most, if not all, uMITE codes
were held. I guess not.

What I'm looking for is a package that has double precision
Trigonometric functions, either floating point or integer.
I need ACOS, ASIN, ATAN2, SIN, COS specifically.
Astronomical program for solar tracking.

I'm not a real programmer, just a muddling user.

redrok
 
Justplayin

Guru

Joined: 31/01/2014
Location: United States
Posts: 327
Posted: 04:09pm 08 Nov 2016
Copy link to clipboard 
Print this post

I see... CFunction.h is for writing your own Cfunctions/CSubs. Other than few samples in the firmware zip and some code posted by Peter Mather, there is very little available in pre-made CFunctions. I don't think you will see trig functions from C routines due the limitations of dealing with floats.

From the C Routines PDF:
  Quote  Floating point constants and variables can also be passed but they need to be handled carefully within the embedded C routine as the C compiler will generate invalid code for normal floating point operations.


--Curtis


I am not a Mad Scientist...  It makes me happy inventing new ways to take over the world!!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10202
Posted: 10:05pm 08 Nov 2016
Copy link to clipboard 
Print this post

  Quote  What I'm looking for is a package that has double precision
Trigonometric functions, either floating point or integer.
I need ACOS, ASIN, ATAN2, SIN, COS specifically.
Astronomical program for solar tracking.


There are no Cfunctions to do this and currently no way of writing them
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025