Index

auto-plow / b8b58d3

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
5617 Feb 2019 16:38b8b58d3Good stuffjoshuas3140N

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

text/plain629 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#define ROBOCLAW2_LOGIC A0
13
14#define ROBOCLAW_RX 4
15#define ROBOCLAW_TX 5
16
17#define ROBOCLAW2_RX A1
18#define ROBOCLAW2_TX A2
19
20#define PIN_MOTOR_BRAKES 6
21#define PIN_LIGHTS 7
22
23#define PIN_CH_1 8
24#define PIN_CH_2 9
25#define PIN_CH_3 10
26#define PIN_CH_4 11
27#define PIN_CH_5 12
28#define PIN_CH_6 13
29
30// Other settings
31
32#define RIGHT_JOYSTICK_SENSITIVITY 4 // 1-5
33#define LEFT_JOYSTICK_SENSITIVITY 1
34
35#define RADIO_TIMEOUT 1000
36
37#define BAUD_RATE 9600
38#define ROBOCLAW_BAUD 38400
39
40#endif
41