Is it possible to use trig functions eg: Sin, Cos in flowcode, for use with an electronic compass ?
cheers Gary
Trig functions
-
- Posts: 38
- Joined: Fri Nov 07, 2008 12:57 pm
- Has thanked: 7 times
- Been thanked: 4 times
- Contact:
-
- Valued Contributor
- Posts: 548
- Joined: Tue Jun 26, 2007 11:23 am
- Has thanked: 6 times
- Been thanked: 44 times
- Contact:
Re: Trig functions
Which version of Flowcode are you using (PIC, AVR, or ARM)?
The postings under the 'Look-up tables' heading also discuss the use of data tables to store trig values to make the calculation process easier and quicker - if less accurate.
Flowcode for ARMs has direct support for floating-point variables and trig function.
Flowcode for AVR has similar support, but currently via C-code blocks. See http://www.matrixmultimedia.com/mmforum ... =23&t=6367
Flowcode for PIC V4 includes support for floating-point variables (due for release soon).
The postings under the 'Look-up tables' heading also discuss the use of data tables to store trig values to make the calculation process easier and quicker - if less accurate.
Flowcode for ARMs has direct support for floating-point variables and trig function.
Flowcode for AVR has similar support, but currently via C-code blocks. See http://www.matrixmultimedia.com/mmforum ... =23&t=6367
Flowcode for PIC V4 includes support for floating-point variables (due for release soon).