Commanders
Arduino buttons/bus library
Commanders.h
Go to the documentation of this file.
1
//-------------------------------------------------------------------
2
#ifndef __commanders_H__
3
#define __commanders_H__
4
//-------------------------------------------------------------------
5
35
// Remove the '//' at the begining of the line to be in debug mode.
37
//#define COMMANDERS_DEBUG_MODE
38
40
// Remove the '//' at the begining of the line to be in verbose debug mode.
41
//#define COMMANDERS_DEBUG_VERBOSE_MODE
42
44
// Remove the '//' at the begining of the line to activate the print function.
45
//#define COMMANDERS_PRINT_COMMANDERS
46
47
#ifdef DOXYGEN_SPECIFIC
48
51
#define COMMANDERS_DEBUG_MODE
52
54
#define COMMANDERS_DEBUG_VERBOSE_MODE
55
60
#define COMMANDERS_PRINT_COMMANDERS
61
#endif
62
64
#define GPIO2_PREFER_SPEED 1
65
66
#include <DIO2.h>
67
69
// Exclusion area
70
//
71
//NO_CANCOMMANDER
72
// CANCommander.cpp
73
// CANCommander.hpp
74
//
75
//NO_DCCCOMMANDER
76
// DccCommander.cpp
77
// DccCommander.hpp
78
// DCC_Decoder.cpp
79
// DCC_Decoder.hpp
80
//
81
//NO_I2CCOMMANDER
82
// I2CCommander.cpp
83
// I2CCommander.hpp
84
//
85
//NO_SERIALCOMMANDER
86
// SerialCommander.hpp
87
// TextInterpreter.cpp
88
// TextInterpreter.hpp
89
//
90
//NO_BUTTONSCOMMANDER
91
// ButtonsCommander.cpp
92
// ButtonsCommander.hpp
93
// ButtonsCommanderButtons.cpp
94
// ButtonsCommanderButtons.hpp
95
// ButtonsCommanderEncoder.cpp
96
// ButtonsCommanderEncoder.hpp
97
// ButtonsCommanderPush.cpp
98
// ButtonsCommanderPush.hpp
99
// ButtonsCommanderSwitch.cpp
100
// ButtonsCommanderSwitch.hpp
101
// ButtonsCommanderPotentiometer.cpp
102
// ButtonsCommanderPotentiometer.hpp
103
//
104
//NO_BUTTONSCOMMANDERENCODER
105
// ButtonsCommanderEncoder.cpp
106
// ButtonsCommanderEncoder.hpp
107
//
108
//NO_BUTTONSCOMMANDERPUSH
109
// ButtonsCommanderPush.cpp
110
// ButtonsCommanderPush.hpp
111
//
112
//NO_BUTTONSCOMMANDERANALOGPUSHES
113
// ButtonsCommanderAnalogPush.cpp
114
// ButtonsCommanderAnalogPush.hpp
115
//
116
//NO_BUTTONSCOMMANDERSWITCH
117
// ButtonsCommanderSwitch.cpp
118
// ButtonsCommanderSwitch.hpp
119
//
120
//NO_BUTTONSCOMMANDERPOTENTIOMETER
121
// ButtonsCommanderPotentiometer.cpp
122
// ButtonsCommanderPotentiometer.hpp
123
124
//#define NO_BUTTONSCOMMANDER
125
//#define NO_BUTTONSCOMMANDERENCODER
126
//#define NO_BUTTONSCOMMANDERPUSH
127
//#define NO_BUTTONSCOMMANDERANALOGPUSHES
128
//#define NO_BUTTONSCOMMANDERSWITCH
129
//#define NO_BUTTONSCOMMANDERPOTENTIOMETER
130
//#define NO_CANCOMMANDER
131
//#define NO_DCCCOMMANDER
132
//#define NO_I2CCOMMANDER
133
//#define NO_SERIALCOMMANDER
134
136
137
#include "Commander.hpp"
138
#include "Commanders.hpp"
139
140
#ifndef NO_CANCOMMANDER
141
#include "CANCommander.hpp"
142
#endif
143
144
#ifndef NO_DCCCOMMANDER
145
#include "DccCommander.hpp"
146
#endif
147
148
#ifndef NO_I2CCOMMANDER
149
#include "I2CCommander.hpp"
150
#endif
151
152
#ifndef NO_BUTTONSCOMMANDER
153
#include "ButtonsCommander.hpp"
154
#endif
155
156
#ifndef NO_SERIALCOMMANDER
157
#include "
SerialCommander.hpp
"
158
#include "TextInterpreter.hpp"
159
#endif
160
161
#endif
SerialCommander.hpp
src
Commanders.h
Generated on jeu. août 10 2017 14:30:09 for Commanders by
1.2.10