Pebble App Framework
main
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
tide.h
Go to the documentation of this file.
1
16
#pragma once
17
#include <stdbool.h>
18
#include <stdint.h>
19
24
26
#define TIDE_PERIOD_MIN 745
27
38
int
tide_level
(int32_t minutes);
39
46
bool
tide_rising
(int32_t minutes);
47
tide_rising
bool tide_rising(int32_t minutes)
Whether the tide is on its way in.
Definition
tide.c:45
tide_level
int tide_level(int32_t minutes)
How far in the tide is, from 0 at dead low to 100 at high water.
Definition
tide.c:28
src
c
core
clock
tide.h
Generated by
1.18.0