Still working

This commit is contained in:
Mark Qvist 2014-04-03 22:54:34 +02:00
parent 9b435bbd59
commit 73b8a6ed0b
5 changed files with 13 additions and 14 deletions

View file

@ -10,13 +10,12 @@ struct Afsk;
void hw_afsk_adcInit(int ch, struct Afsk *_ctx);
void hw_afsk_dacInit(int ch, struct Afsk *_ctx);
// ADC initialization
#define AFSK_ADC_INIT(ch, ctx) hw_afsk_adcInit(ch, ctx)
// LED on/off (pin 13)
#define AFSK_STROBE_INIT() do { DDRB |= BV(5); } while (0)
#define AFSK_STROBE_ON() do { PORTB |= BV(5); } while (0)
#define AFSK_STROBE_OFF() do { PORTB &= ~BV(5); } while (0)
// Initialization, start and stop for DAC