mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-23 13:54:23 -04:00
Initial commit
This commit is contained in:
commit
05d62b594e
18 changed files with 1551 additions and 0 deletions
20
device.h
Normal file
20
device.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef DEVICE_CONFIGURATION
|
||||
#define DEVICE_CONFIGURATION
|
||||
|
||||
// CPU settings
|
||||
#define F_CPU 16000000
|
||||
#define FREQUENCY_CORRECTION 0
|
||||
|
||||
// Sampling & timer setup
|
||||
#define CONFIG_AFSK_DAC_SAMPLERATE 9600
|
||||
|
||||
// Serial settings
|
||||
#define BAUD 9600
|
||||
|
||||
// Port settings
|
||||
#define DAC_PORT PORTB
|
||||
#define DAC_DDR DDRB
|
||||
#define ADC_PORT PORTC
|
||||
#define ADC_DDR DDRC
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue