2019-11-11 22:26:34 +01:00
|
|
|
#pragma once
|
2020-03-12 11:14:13 +01:00
|
|
|
#define DEBUG Serial
|
2019-12-05 11:53:01 +01:00
|
|
|
|
2020-03-12 12:09:13 +01:00
|
|
|
#ifdef VARS
|
|
|
|
#define extr
|
|
|
|
#else
|
|
|
|
#define extr extern
|
|
|
|
#endif
|
|
|
|
|
2020-02-21 13:37:32 +01:00
|
|
|
#define GLOBAL_SPD_MULT 1.0
|
|
|
|
|
2020-05-05 17:57:43 +02:00
|
|
|
/*SWS and LEDS are to be tested and implemented in the code.
|
|
|
|
the new setup is the one commented, leds have to be written
|
|
|
|
in the 32U4 code*/
|
|
|
|
|
2019-11-13 16:26:03 +01:00
|
|
|
#define LED_R 20
|
|
|
|
#define LED_Y 17
|
|
|
|
#define LED_G 13
|
2019-12-05 11:53:01 +01:00
|
|
|
|
2019-11-13 16:26:03 +01:00
|
|
|
#define BUZZER 30
|
|
|
|
#define SWITCH_SX 28
|
2020-05-05 17:57:43 +02:00
|
|
|
#define SWITCH_DX 29
|
|
|
|
|
|
|
|
/*#define BUZZER 6
|
|
|
|
#define SWITCH_1 39
|
|
|
|
#define SWITCH_2 38
|
|
|
|
#define SWITCH_3 33*/
|
2020-03-12 12:09:13 +01:00
|
|
|
|
|
|
|
extr float sins[360], cosins[360];
|