Index

auto-plow / 4d5e35b

A wheelchair motor-propelled battery-powered ESP32-driven remote control snow plow.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
608 Nov 2019 21:4022b5c4bFix RX outputJosh Stockin110N

Blob @ auto-plow / main / util.h

text/plain231 bytesdownload raw
1#ifndef __UTIL_H__
2#define __UTIL_H__
3
4int ticks_to_ms(int ticks);
5int ms_to_ticks(int ms);
6void delay(int ms);
7int map(int input, int min_in, int max_in, int min_out, int max_out);
8
9extern unsigned int xthal_get_ccount();
10
11#endif
12