-
Notifications
You must be signed in to change notification settings - Fork 0
/
defines.h
49 lines (30 loc) · 966 Bytes
/
defines.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*----------------------------------------------------------------------------*\
| a collection of common defines, structs, values which will be used |
| everywhere within the Spider Board project and future projects. |
\*----------------------------------------------------------------------------*/
#ifndef __defines_h__
#define __defines_h__
#include <arduino.h>
#include <avr/interrupt.h>
#include <avr/io.h>
#include <stdint.h>
#ifdef ARDUINO_AVR_NANO
#include <avr/pgmspace.h>
#include "progmem.h"
#endif //
//#ifdef TEENSYDUINO
//#include <WProgram.h>
//#endif //TEENSYDUINO
#include "elapsedMillis.h"
#include "inline.h"
#include "binary.h"
#include "color.h"
#include "config.h"
#include "pixel_array.h"
#if defined TEENSYDUINO || defined ARDUINO_AVR_NANO
#include "com_master.h"
#include "animation.h"
#endif //TEENSYDUINO || ARDUINO_AVR_NANO
extern int freeRam ();
extern void print_ram();
#endif //__defines_h__