Rework the bytecode format to use a much simplified setup: a six-bit timer with

the top two bits reserved for pulse and index state. This is actually smaller,
bandwidth-wise, than the old version, and may be smaller than the crunched
version.
This commit is contained in:
David Given
2020-03-14 18:58:43 +00:00
parent a401173f6d
commit fc2655ecd6
13 changed files with 139 additions and 90 deletions

View File

@@ -48,6 +48,9 @@ public:
void precompensate(int threshold_ticks, int amount_ticks);
private:
uint8_t& findLastByte();
private:
nanoseconds_t _duration = 0;
int _ticks = 0;