-
Notifications
You must be signed in to change notification settings - Fork 0
/
defins_includes.h
48 lines (35 loc) · 912 Bytes
/
defins_includes.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
#ifndef pinment_h
#define pinment_h
// Libraries
#include <Wire.h>
#include <Adafruit_PWMServoDriver.h>
#include <Serial.h>
// Defines
#define MIN_PULSE_WIDTH 650
#define MAX_PULSE_WIDTH 2350
#define FREQUENCY 50
#define init90v 307
// HC-05 Control Values
//right
#define MIN_RIGHT_VALUE 0x00
#define MAX_RIGHT_VALUE 0x00
#define MID_RIGHT_VALUE 0x00
//left
#define MIX_LEFT_VALUE 0x00
#define MAN_LEFT_VALUE 0x00
#define MID_LEFT_VALUE 0x00
//button
#define DOTIGH 0x00
#define UNTIGH 0x00
// Motor Pins On The PCA9685
#define motorA 0
#define motorB 2
#define motorC 4
#define motorD 6
#define motorE 8
#define motorF 10
int y = 0;
int x = 0;
void initate90(void){}
void moveMotor(int, int){}
#endif