added basic configuration stuff
parent
fa096c7ce0
commit
ded99b7059
|
@ -0,0 +1,11 @@
|
|||
#include <avr/io.h>
|
||||
|
||||
#include "configuration.h"
|
||||
|
||||
|
||||
void
|
||||
configuration_init(void)
|
||||
{
|
||||
PORTD |= _BV(PD6);
|
||||
PORTD |= _BV(PD7);
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue