OOKwiz
on/off-keying for ESP32 and a variety of supported radio modules
src
RawTimings.h
Go to the documentation of this file.
1
#
ifndef
_RAWTIMINGS_H_
2
#
define
_RAWTIMINGS_H_
3
4
#
include
<
Arduino
.
h
>
5
#
include
<
vector
>
6
#
include
"config.h"
7
8
class
Pulsetrain
;
9
10
/// @brief RawTimings instances store the time in µs of each interval
11
class
RawTimings
{
12
public
:
13
static
bool
maybe
(String str);
14
15
/// @brief std::vector of uint16_t times in µs for each interval
16
std
::
vector
<
uint16_t
>
intervals
;
17
18
IRAM_ATTR
operator
bool
();
19
void
IRAM_ATTR
zap
();
20
String
toString
();
21
bool
fromString
(
const
String &in);
22
bool
fromPulsetrain
(
Pulsetrain
&train);
23
Pulsetrain
toPulsetrain
();
24
String
visualizer
();
25
String
visualizer
(
int
base
);
26
};
27
28
#
endif
Generated by
1.9.1