Pebble App Framework
v4.6.0
How It Works
CLI
Device API
Phone API
C Coverage
TS Coverage
GitHub
Theme
Pebble App Framework: Device API
Toggle main menu visibility
Loading...
Searching...
No Matches
series.h
Go to the documentation of this file.
1
12
#pragma once
13
#include <stdint.h>
14
19
36
int
series_range
(
const
uint8_t *samples,
int
count, uint8_t no_sample,
37
int
*lo,
int
*hi,
int
*last);
38
46
int
series_max_u16
(
const
uint16_t *values,
int
count);
47
series_range
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.
Definition
series.c:9
series_max_u16
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.
Definition
series.c:46
src
c
core
math
series.h
Generated by
1.18.0