Work on sample rate independency

This commit is contained in:
Mark Qvist 2018-12-29 15:57:49 +01:00
parent 3fb4c30604
commit f285ae8cc0
4 changed files with 30 additions and 30 deletions

View file

@ -14,6 +14,7 @@
// Sampling & timer setup
#define CONFIG_SAMPLERATE 19200UL
//#define CONFIG_SAMPLERATE 19200UL
//#define CONFIG_SAMPLERATE 9600
// Serial settings
@ -21,6 +22,9 @@
#define SERIAL_DEBUG false
#define TX_MAXWAIT 2UL
// CSMA Settings
#define CONFIG_CSMA_P 255
// Port settings
#if TARGET_CPU == m1284p
#define ADC_PORT PORTA