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