mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-20 15:20:29 -04:00
Still working
This commit is contained in:
parent
9b435bbd59
commit
73b8a6ed0b
5 changed files with 13 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue