Initial commit

This commit is contained in:
Mark Qvist 2014-12-03 01:10:06 +01:00
commit 05d62b594e
18 changed files with 1551 additions and 0 deletions

20
device.h Normal file
View 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