Rev 28 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 28 | Rev 30 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | * |
4 | * |
| 5 | * Created on: 31 Jan 2016 |
5 | * Created on: 31 Jan 2016 |
| 6 | * Author: Mike |
6 | * Author: Mike |
| 7 | */ |
7 | */ |
| 8 | #include <math.h> |
8 | #include <math.h> |
| 9 | #include "stm32f1xx_hal.h" |
9 | #include "stm32l1xx_hal.h" |
| 10 | #include "ap_math.h" |
10 | #include "ap_math.h" |
| 11 | /* this is an approximate maths library where all the answers are accurate enough */ |
11 | /* this is an approximate maths library where all the answers are accurate enough */ |
| 12 | static uint8_t sintab[90]; |
12 | static uint8_t sintab[90]; |
| 13 | void ap_init(void) |
13 | void ap_init(void) |
| 14 | { |
14 | { |