diff --git a/configuration.c b/configuration.c new file mode 100644 index 0000000..e45c0dd --- /dev/null +++ b/configuration.c @@ -0,0 +1,11 @@ +#include + +#include "configuration.h" + + +void +configuration_init(void) +{ + PORTD |= _BV(PD6); + PORTD |= _BV(PD7); +} diff --git a/configuration.h b/configuration.h new file mode 100644 index 0000000..5103ec1 --- /dev/null +++ b/configuration.h @@ -0,0 +1,10 @@ +#ifndef _CONFIGURATION_H_ +#define _CONFIGURATION_H_ + +#define CHANNEL_1_ENABLED (PIND & _BV(PD6)) +#define CHANNEL_2_ENABLED (PIND & _BV(PD7)) + +void +configuration_init(void); + +#endif