Loading...
Searching...
No Matches
series.c File Reference

Reducing a run of samples to the few numbers a chart draws from. More...

#include "math/series.h"

Functions

int series_range (const uint8_t *samples, int count, uint8_t no_sample, int *lo, int *hi, int *last)
 Walk a series of samples for its low, high, and most recent reading.
int series_max_u16 (const uint16_t *values, int count)
 The largest value in a series, for scaling a bar strip against its busiest slot.

Detailed Description

Reducing a run of samples to the few numbers a chart draws from.