-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.h
49 lines (40 loc) · 778 Bytes
/
main.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef _MAIN_H_
#define _MAIN_H_
#include <Arduino.h>
// #define RF_INTERRUPTS
#define EEPROM_SPEED_ADDR 0
#define EEPROM_TURN_ADDR 1
void slower();
void faster();
void bumpMotorSpeed(int p_bump);
void setDirection(int p_dir);
void motorCcw();
void motorCw();
void motorStop();
void reverse();
void processTouch();
void checkRemoteButtons();
void updateDisplay();
void button();
bool isDone();
void saveSettings();
void intTouchInput();
void intHallSwitch();
#ifdef RF_INTERRUPTS
void clearPci();
#endif
void initTouch();
void initRemote();
void initHall();
void initMotor();
void clearTouchInt();
//end of add your includes here
#ifdef __cplusplus
extern "C" {
#endif
void loop();
void setup();
#ifdef __cplusplus
} // extern "C"
#endif
#endif /* _MAIN_H_ */