Index
auto-plow
/
2c630cd
A wheelchair motor-propelled battery-powered ESP32-driven remote control snow plow.
Download
|
Refs
|
Commit Log
|
Files
|
README
|
LICENSE
Latest Commit
{#}
Time
Hash
Subject
Author
#
(+)
(-)
GPG?
6
08 Nov 2019 21:40
22b5c4b
Fix RX output
Josh Stockin
1
1
0
N
Blob @
auto-plow
/
main
/
util.h
text/plain
231 bytes
download raw
1
#ifndef __UTIL_H__
2
#define __UTIL_H__
3
4
int
ticks_to_ms
(
int
ticks
);
5
int
ms_to_ticks
(
int
ms
);
6
void
delay
(
int
ms
);
7
int
map
(
int
input
,
int
min_in
,
int
max_in
,
int
min_out
,
int
max_out
);
8
9
extern
unsigned int
xthal_get_ccount
();
10
11
#endif
12