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
415
// Remove the '//' at the beginning of the line to be in debug mode.
417
#define COMMANDERS_DEBUG_MODE
418
420
// Remove the '//' at the beginning of the line to be in verbose debug mode.
421
//#define COMMANDERS_DEBUG_VERBOSE_MODE
422
424
// Remove the '//' at the beginning of the line to activate the print function.
425
#define COMMANDERS_PRINT_COMMANDERS
426
428
#define GPIO2_PREFER_SPEED 1
429
430
#include <DIO2.h>
431
433
// Exclusion area
434
//
435
//NO_CANCOMMANDER
436
// CANCommander.cpp
437
// CANCommander.hpp
438
//
439
//NO_DCCCOMMANDER
440
// DccCommander.cpp
441
// DccCommander.hpp
442
// DCC_Decoder.cpp
443
// DCC_Decoder.hpp
444
//
445
//NO_I2CCOMMANDER
446
// I2CCommander.cpp
447
// I2CCommander.hpp
448
//
449
//NO_SERIALCOMMANDER
450
// SerialCommander.hpp
451
// TextInterpreter.cpp
452
// TextInterpreter.hpp
453
//
454
//NO_BUTTONSCOMMANDER
455
// ButtonsCommander.cpp
456
// ButtonsCommander.hpp
457
// ButtonsCommanderButtons.cpp
458
// ButtonsCommanderButtons.hpp
459
// ButtonsCommanderEncoder.cpp
460
// ButtonsCommanderEncoder.hpp
461
// ButtonsCommanderPush.cpp
462
// ButtonsCommanderPush.hpp
463
// ButtonsCommanderSwitch.cpp
464
// ButtonsCommanderSwitch.hpp
465
// ButtonsCommanderPotentiometer.cpp
466
// ButtonsCommanderPotentiometer.hpp
467
//
468
//NO_BUTTONSCOMMANDERENCODER
469
// ButtonsCommanderEncoder.cpp
470
// ButtonsCommanderEncoder.hpp
471
//
472
//NO_BUTTONSCOMMANDERPUSH
473
// ButtonsCommanderPush.cpp
474
// ButtonsCommanderPush.hpp
475
//
476
//NO_BUTTONSCOMMANDERANALOGPUSHES
477
// ButtonsCommanderAnalogPush.cpp
478
// ButtonsCommanderAnalogPush.hpp
479
//
480
//NO_BUTTONSCOMMANDERSWITCH
481
// ButtonsCommanderSwitch.cpp
482
// ButtonsCommanderSwitch.hpp
483
//
484
//NO_BUTTONSCOMMANDERPOTENTIOMETER
485
// ButtonsCommanderPotentiometer.cpp
486
// ButtonsCommanderPotentiometer.hpp
487
//
488
//NO_EVENTsSEQUENCER
489
// EventsSequencer.cpp
490
// EventsSequencer.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
//#define NO_EVENTSSEQUENCER
503
505
506
#include "Commander.hpp"
507
#include "Commanders.hpp"
508
509
#ifndef NO_CANCOMMANDER
510
#include "CANCommander.hpp"
511
#endif
512
513
#ifndef NO_DCCCOMMANDER
514
#include "DccCommander.hpp"
515
#endif
516
517
#ifndef NO_I2CCOMMANDER
518
#include "I2CCommander.hpp"
519
#endif
520
521
#ifndef NO_BUTTONSCOMMANDER
522
#include "ButtonsCommander.hpp"
523
#endif
524
525
#ifndef NO_SERIALCOMMANDER
526
#include "
SerialCommander.hpp
"
527
#include "TextInterpreter.hpp"
528
#endif
529
530
#ifndef NO_EVENTSSEQUENCER
531
#include "EventsSequencer.hpp"
532
#endif
533
534
#ifdef DOXYGEN_SPECIFIC
535
// DO NOT CHANGE THESE LINES IN THIS BLOCK 'DOXYGEN_SPECIFIC' : Only here for documentation !
536
540
#define COMMANDERS_DEBUG_MODE
541
543
#define COMMANDERS_DEBUG_VERBOSE_MODE
544
549
#define COMMANDERS_PRINT_COMMANDERS
550
#endif
551
552
#endif
SerialCommander.hpp
src
Commanders.h
Generated on dim. mai 20 2018 16:21:49 for Commanders by
1.2.10