// ---------------------------------------------------------------------------- // Constants.h // // // Authors: // Peter Polidoro peterpolidoro@gmail.com // ---------------------------------------------------------------------------- #ifndef CONSTANTS_H #define CONSTANTS_H #include 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 { double duty_cycle; double percent_delay; }; extern const Example examples[EXAMPLE_COUNT]; } #endif