-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathenvironment.h
45 lines (27 loc) · 854 Bytes
/
environment.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
// environment.h ///////////////////////////////////////////////////////////////
// types and preprocessor definitions shared across multiple files /////////////
////////////////////////////////////////////////////////////////////////////////
//#include <std_files>
//#include "Headers.h"
//#include "Source.c"
//#include "Headers.hpp"
//#include "Source.cpp"
#ifndef EnViRoNmEnT
#define EnViRoNmEnT
#define PRESEASON
typedef double seconds;
typedef short int score;
typedef short pin;
typedef float percent;
enum pinstate{high, low};
#ifdef PRESEASON
#include <string>
typedef std::string String;
// otherwise, we sneakily get away with it just being the String
// type declared in the Arduino source
#else
#include "Arduino.h"
#endif
void print(String output);
void print(String output, int constructor_arg, String fin);
#endif