mirror of
https://github.com/markqvist/LibAPRS
synced 2026-08-12 17:40:35 -04:00
Updates
This commit is contained in:
parent
8f8e124e38
commit
7960eba03f
2 changed files with 23 additions and 4 deletions
13
device.h
13
device.h
|
|
@ -17,10 +17,15 @@
|
|||
#endif
|
||||
|
||||
// ADC settings
|
||||
#define OPEN_SQUELCH false
|
||||
#define ADC_REFERENCE REF_3V3
|
||||
// OR
|
||||
//#define ADC_REFERENCE REF_5V
|
||||
#ifndef OPEN_SQUELCH
|
||||
#define OPEN_SQUELCH false
|
||||
#endif
|
||||
|
||||
#ifndef ADC_REFERENCE
|
||||
#define ADC_REFERENCE REF_3V3
|
||||
// OR
|
||||
//#define ADC_REFERENCE REF_5V
|
||||
#endif
|
||||
|
||||
// Sampling & timer setup
|
||||
#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.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue