This repository has been archived on 2025-10-20. You can view files and clone it, but cannot push or open issues or pull requests.
Files
2bki21/INF/libraries/PCA9685/examples/SetChannelOnAndOffTime/Constants.h
danielvici123 c810f9541d inf sachen
2024-12-02 11:49:11 +01:00

33 lines
634 B
C++

// ----------------------------------------------------------------------------
// Constants.h
//
//
// Authors:
// Peter Polidoro peterpolidoro@gmail.com
// ----------------------------------------------------------------------------
#ifndef CONSTANTS_H
#define CONSTANTS_H
#include <Arduino.h>
namespace constants
{
extern const uint8_t device_address;
extern const size_t output_enable_pin;
extern const size_t loop_delay;
extern const uint16_t frequency;
extern const uint8_t channel;
enum{EXAMPLE_COUNT=4};
struct Example
{
uint16_t on_time;
uint16_t off_time;
};
extern const Example examples[EXAMPLE_COUNT];
}
#endif