Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjairo committed Dec 23, 2011
1 parent f6db7b2 commit 56815e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 0 additions & 7 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
// ASCII escape character
#define ESC ((uint8)27)


// Servo constants
#define SERVO_MIN 3430
#define SERVO_MAX 6800
#define PPM_CNTS_TO_DEG 0.09
#define SERVO_ANGLE_TO_DUTY 37.44444

// Globals
HardwareTimer timer4(4);

Expand Down
2 changes: 2 additions & 0 deletions main.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
#define ROTOR2_PIN 15
/* Timer 4, Ch 3 */
#define ROTOR3_PIN 32

#define PPM_PIN 27

0 comments on commit 56815e7

Please sign in to comment.