arduino : update the examples for Tx and Rx

This commit is contained in:
Georgi Gerganov
2022-06-05 18:19:25 +03:00
parent 7c5b614c16
commit 82f6274a55
10 changed files with 286 additions and 231 deletions

View File

@@ -3,17 +3,21 @@
#include "fft.h"
#include "reed-solomon/rs.hpp"
#include <cstdio>
#include <cmath>
#include <ctime>
#include <cstdio>
//#include <random>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#ifdef ARDUINO
#define ggprintf(...)
#else
#define ggprintf(...) \
g_fptr && fprintf(g_fptr, __VA_ARGS__)
#endif
//
// C interface