Index

auto-plow / 3630027

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
5512 Feb 2019 02:253630027Fix weird git conflictions, remove plow control codejoshuas31026N

Blob @ auto-plow / src / ard1 / ard1.h

text/plain553 bytesdownload raw
1#include "Arduino.h"
2
3#ifndef __ARD1_H__
4#define __ARD1_H__ 1
5
6// Pins
7
8// 0 and 1 are hardware RX and TX
9#define PIN_RESET 2
10
11#define ROBOCLAW_LOGIC 3
12
13#define ROBOCLAW_RX 4
14#define ROBOCLAW_TX 5
15
16#define PIN_MOTOR_BRAKES 6
17#define PIN_LIGHTS 7
18
19#define PIN_CH_1 8
20#define PIN_CH_2 9
21#define PIN_CH_3 10
22#define PIN_CH_4 11
23#define PIN_CH_5 12
24#define PIN_CH_6 13
25
26// Other settings
27
28#define RIGHT_JOYSTICK_SENSITIVITY 4 // 1-5
29#define LEFT_JOYSTICK_SENSITIVITY 1
30
31#define RADIO_TIMEOUT 1000
32
33#define BAUD_RATE 9600
34#define ROBOCLAW_BAUD 38400
35
36#endif
37