Subversion Repositories FlightCtrl

Rev

Rev 2048 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2048 Rev 2052
Line 3... Line 3...
3
#include <avr/pgmspace.h>
3
#include <avr/pgmspace.h>
Line 4... Line 4...
4
 
4
 
5
// For scope debugging only!
5
// For scope debugging only!
Line 6... Line -...
6
#include "output.h"
-
 
7
 
-
 
8
// Debug
-
 
9
#include "uart0.h"
6
#include "output.h"
10
 
7
 
11
const int16_t SIN_TABLE[] PROGMEM = { (int16_t) (0.0 * MATH_UNIT_FACTOR + 0.5),
8
const int16_t SIN_TABLE[] PROGMEM = { (int16_t) (0.0 * MATH_UNIT_FACTOR + 0.5),
12
    (int16_t) (0.01745240643728351 * MATH_UNIT_FACTOR + 0.5),
9
    (int16_t) (0.01745240643728351 * MATH_UNIT_FACTOR + 0.5),
13
    (int16_t) (0.03489949670250097 * MATH_UNIT_FACTOR + 0.5),
10
    (int16_t) (0.03489949670250097 * MATH_UNIT_FACTOR + 0.5),