29 lines
674 B
C++
29 lines
674 B
C++
// ----------------------------------------------------------------------------
|
|
// Constants.h
|
|
//
|
|
//
|
|
// Authors:
|
|
// Peter Polidoro peter@polidoro.io
|
|
// ----------------------------------------------------------------------------
|
|
#ifndef CONSTANTS_H
|
|
#define CONSTANTS_H
|
|
#include <Arduino.h>
|
|
#include <PCA9685.h>
|
|
|
|
|
|
namespace constants
|
|
{
|
|
enum{DEVICE_COUNT=3};
|
|
extern const PCA9685::DeviceAddress device_addresses[DEVICE_COUNT];
|
|
extern const PCA9685::DeviceIndex;
|
|
|
|
extern const PCA9685::Pin output_enable_pin;
|
|
|
|
extern const size_t loop_delay;
|
|
extern const PCA9685::Frequency frequency;
|
|
extern const PCA9685::Time time_increment;
|
|
|
|
extern const PCA9685::Channel channel;
|
|
}
|
|
#endif
|