kopia lustrzana https://github.com/markqvist/LibAPRS
Updates
rodzic
8f8e124e38
commit
7960eba03f
13
device.h
13
device.h
|
@ -17,10 +17,15 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ADC settings
|
// ADC settings
|
||||||
#define OPEN_SQUELCH false
|
#ifndef OPEN_SQUELCH
|
||||||
#define ADC_REFERENCE REF_3V3
|
#define OPEN_SQUELCH false
|
||||||
// OR
|
#endif
|
||||||
//#define ADC_REFERENCE REF_5V
|
|
||||||
|
#ifndef ADC_REFERENCE
|
||||||
|
#define ADC_REFERENCE REF_3V3
|
||||||
|
// OR
|
||||||
|
//#define ADC_REFERENCE REF_5V
|
||||||
|
#endif
|
||||||
|
|
||||||
// Sampling & timer setup
|
// Sampling & timer setup
|
||||||
#define CONFIG_AFSK_DAC_SAMPLERATE 9600
|
#define CONFIG_AFSK_DAC_SAMPLERATE 9600
|
||||||
|
|
|
@ -1,3 +1,17 @@
|
||||||
|
// You must define what reference voltage the ADC
|
||||||
|
// of your device is running at. If you bought a
|
||||||
|
// MicroModem from unsigned.io, it will be running
|
||||||
|
// at 3.3v if the "hw rev" is greater than 2.0.
|
||||||
|
// This is the most common. If you build your own
|
||||||
|
// modem, you should know this value yourself :)
|
||||||
|
#define ADC_REFERENCE REF_3V3
|
||||||
|
// OR
|
||||||
|
//#define ADC_REFERENCE REF_5V
|
||||||
|
|
||||||
|
// You can also define whether your modem will be
|
||||||
|
// running with an open squelch radio:
|
||||||
|
#define OPEN_SQUELCH false
|
||||||
|
|
||||||
// Include LibAPRS
|
// Include LibAPRS
|
||||||
#include <LibAPRS.h>
|
#include <LibAPRS.h>
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue