22 lines
359 B
C
22 lines
359 B
C
#pragma once
|
|
|
|
#include <inttypes.h>
|
|
|
|
#define float32_t float
|
|
|
|
#define N 1024
|
|
#define FS 16000
|
|
#define RE FS / N
|
|
#define MN 256
|
|
|
|
#define FREQ_BIT1 1100
|
|
#define FREQ_SYNC 1200
|
|
#define FREQ_BIT0 1300
|
|
#define FREQ_START 1900
|
|
#define FREQ_BLACK 1500
|
|
#define FREQ_WHITE 4000
|
|
#define FREQ_RANGE FREQ_WHITE - FREQ_BLACK
|
|
#define COLOR_SCALE 64
|
|
|
|
uint8_t decode_sstv();
|