#include "DIO2.h"
#include "Port.hpp"
#include "AccessoryMotorOneWay.hpp"
#include "AccessoryMotorTwoWays.hpp"
#include "AccessoryServo.hpp"
#include "AccessoryStepper.hpp"
#include "AccessoryLight.hpp"
#include "AccessoryLightMulti.hpp"
#include "AccessoryGroup.hpp"
#include "PortOnePin.hpp"
#include "PortTwoPins.hpp"
#include "PortTwoPinsEnable.hpp"
#include "PortSpeedDirBrake.hpp"
#include "PortShieldL293d.hpp"
#include "PortServo.hpp"
#include "PortStepper.hpp"
#include "Accessories.hpp"
Go to the source code of this file.
Macros | |
#define | LIBRARY_VERSION "Accessories V1.1.4" |
#define | GPIO2_PREFER_SPEED 1 |
#define | ACTION_STACK_SIZE 5 |
#define | NO_GROUP |
#define | NO_MOTOR |
#define | NO_SERVO |
#define | NO_STEPPER |
#define | NO_LIGHT |
#define | NO_SHIELDL293D |
#define | NO_EEPROM |
#define | ACCESSORIES_DEBUG_MODE |
#define | ACCESSORIES_DEBUG_VERBOSE_MODE |
#define | ACCESSORIES_PRINT_ACCESSORIES |
#define | NO_EEPROM |
Main include file of the library.
Definition in file Accessories.h.
#define ACCESSORIES_DEBUG_MODE |
If this is defined, the library will do many checks during setup and execution, and print errors, warnings and information messages on console. These messages can take a lot of memory, so be careful about the free memory of your program if you activate debug mode.
Definition at line 451 of file Accessories.h.
#define ACCESSORIES_DEBUG_VERBOSE_MODE |
If this is defined, the Verbose mode lets you see all actions done by the library, but with a real flood of text to the console... It has no effect if ACCESSORIES_DEBUG_MODE is not activated.
Definition at line 454 of file Accessories.h.
#define ACCESSORIES_PRINT_ACCESSORIES |
If this is defined, the function Accessories::printAccessories() will become available. This is useful to try to understand why a port, or an accessory is not correctly defined. This function uses a lot of memory, so activate it only if necessary, and be careful about your program's memory. You can use the define PRINT_ACCESSORIES() in your sketch instead of a call to Accessories::printAccessories(). If ACCESSORIES_PRINT_ACCESSORIES is not defined, PRINT_ACCESSORIES is defined as empty, so you will not have a compilation error.
Definition at line 460 of file Accessories.h.
#define ACTION_STACK_SIZE 5 |
Default size of action stack.
Definition at line 351 of file Accessories.h.
#define GPIO2_PREFER_SPEED 1 |
This is used internally by DIO2.h
Definition at line 346 of file Accessories.h.
#define NO_EEPROM |
If this is defined, the state of all the library will not be saved to EEPROM.
Definition at line 464 of file Accessories.h.
#define NO_EEPROM |
If this is defined, the state of all the library will not be saved to EEPROM.
Definition at line 464 of file Accessories.h.
#define NO_GROUP |
If this is defined, groups part of the library is removed from the compilation. It can result in a smaller memory footprint for the final program.
Definition at line 421 of file Accessories.h.
#define NO_LIGHT |
If this is defined, all the lights part of the library is removed from the compilation. It can result in a smaller memory footprint for the final program.
Definition at line 433 of file Accessories.h.
#define NO_MOTOR |
If this is defined, all the motors part of the library is removed from the compilation. It can result in a smaller memory footprint for the final program.
Definition at line 424 of file Accessories.h.
#define NO_SERVO |
If this is defined, the servo part of the library is removed from the compilation. It can result in a smaller memory footprint for the final program.
Definition at line 427 of file Accessories.h.
#define NO_SHIELDL293D |
If this is defined, the Arduino Shield L293D part of the library is removed from the compilation. It can result in a smaller memory footprint for the final program.
Definition at line 436 of file Accessories.h.
#define NO_STEPPER |
If this is defined, the stepper motor part of the library is removed from the compilation. It can result in a smaller memory footprint for the final program.
Definition at line 430 of file Accessories.h.