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
401
// Remove the '//' at the beginning of the line to be in debug mode.
403
//#define COMMANDERS_DEBUG_MODE
404
406
// Remove the '//' at the beginning of the line to be in verbose debug mode.
407
//#define COMMANDERS_DEBUG_VERBOSE_MODE
408
410
// Remove the '//' at the beginning of the line to activate the print function.
411
//#define COMMANDERS_PRINT_COMMANDERS
412
413
#ifdef DOXYGEN_SPECIFIC
414
// DO NOT CHANGE THE LINES IN THIS BLOCK 'DOXYGEN_SPECIFIC' : Only here for documentation !
415
419
#define COMMANDERS_DEBUG_MODE
420
422
#define COMMANDERS_DEBUG_VERBOSE_MODE
423
428
#define COMMANDERS_PRINT_COMMANDERS
429
#endif
430
432
#define GPIO2_PREFER_SPEED 1
433
434
#include <DIO2.h>
435
437
// Exclusion area
438
//
439
//NO_CANCOMMANDER
440
// CANCommander.cpp
441
// CANCommander.hpp
442
//
443
//NO_DCCCOMMANDER
444
// DccCommander.cpp
445
// DccCommander.hpp
446
// DCC_Decoder.cpp
447
// DCC_Decoder.hpp
448
//
449
//NO_I2CCOMMANDER
450
// I2CCommander.cpp
451
// I2CCommander.hpp
452
//
453
//NO_SERIALCOMMANDER
454
// SerialCommander.hpp
455
// TextInterpreter.cpp
456
// TextInterpreter.hpp
457
//
458
//NO_BUTTONSCOMMANDER
459
// ButtonsCommander.cpp
460
// ButtonsCommander.hpp
461
// ButtonsCommanderButtons.cpp
462
// ButtonsCommanderButtons.hpp
463
// ButtonsCommanderEncoder.cpp
464
// ButtonsCommanderEncoder.hpp
465
// ButtonsCommanderPush.cpp
466
// ButtonsCommanderPush.hpp
467
// ButtonsCommanderSwitch.cpp
468
// ButtonsCommanderSwitch.hpp
469
// ButtonsCommanderPotentiometer.cpp
470
// ButtonsCommanderPotentiometer.hpp
471
//
472
//NO_BUTTONSCOMMANDERENCODER
473
// ButtonsCommanderEncoder.cpp
474
// ButtonsCommanderEncoder.hpp
475
//
476
//NO_BUTTONSCOMMANDERPUSH
477
// ButtonsCommanderPush.cpp
478
// ButtonsCommanderPush.hpp
479
//
480
//NO_BUTTONSCOMMANDERANALOGPUSHES
481
// ButtonsCommanderAnalogPush.cpp
482
// ButtonsCommanderAnalogPush.hpp
483
//
484
//NO_BUTTONSCOMMANDERSWITCH
485
// ButtonsCommanderSwitch.cpp
486
// ButtonsCommanderSwitch.hpp
487
//
488
//NO_BUTTONSCOMMANDERPOTENTIOMETER
489
// ButtonsCommanderPotentiometer.cpp
490
// ButtonsCommanderPotentiometer.hpp
491
492
//#define NO_BUTTONSCOMMANDER
493
//#define NO_BUTTONSCOMMANDERENCODER
494
//#define NO_BUTTONSCOMMANDERPUSH
495
//#define NO_BUTTONSCOMMANDERANALOGPUSHES
496
//#define NO_BUTTONSCOMMANDERSWITCH
497
//#define NO_BUTTONSCOMMANDERPOTENTIOMETER
498
#define NO_CANCOMMANDER
499
#define NO_DCCCOMMANDER
500
#define NO_I2CCOMMANDER
501
#define NO_SERIALCOMMANDER
502
504
505
#include "Commander.hpp"
506
#include "Commanders.hpp"
507
508
#ifndef NO_CANCOMMANDER
509
#include "CANCommander.hpp"
510
#endif
511
512
#ifndef NO_DCCCOMMANDER
513
#include "DccCommander.hpp"
514
#endif
515
516
#ifndef NO_I2CCOMMANDER
517
#include "I2CCommander.hpp"
518
#endif
519
520
#ifndef NO_BUTTONSCOMMANDER
521
#include "ButtonsCommander.hpp"
522
#endif
523
524
#ifndef NO_SERIALCOMMANDER
525
#include "
SerialCommander.hpp
"
526
#include "TextInterpreter.hpp"
527
#endif
528
529
#endif
SerialCommander.hpp
src
Commanders.h
Generated on dim. févr. 18 2018 17:10:29 for Commanders by
1.2.10