mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-15 04:42:15 -04:00
Added readme
This commit is contained in:
parent
98d2093485
commit
c1967d5863
3 changed files with 27 additions and 4 deletions
|
@ -9,7 +9,6 @@
|
|||
#include "util/FIFO.h"
|
||||
#include "protocol/HDLC.h"
|
||||
|
||||
// TODO: Optimise RAM by moving this to progmem
|
||||
#define SIN_LEN 512
|
||||
static const uint8_t sine_table[] =
|
||||
{
|
||||
|
@ -98,7 +97,7 @@ inline static uint8_t sinSample(uint16_t i) {
|
|||
#define PHASE_BITS 8 // Sub-sample phase counter resolution
|
||||
#endif
|
||||
|
||||
#define PHASE_INC 1 // Nudge by above resolution for each adjustment
|
||||
#define PHASE_INC 1 // Nudge by above resolution for each adjustment
|
||||
|
||||
|
||||
#define PHASE_MAX (ADC_SAMPLESPERBIT * PHASE_BITS) // Size of our phase counter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue