/elec/quadcopter

To get this branch, use:
bzr branch http://bzr.ed.am/elec/quadcopter

« back to all changes in this revision

Viewing changes to src/rc-interface/config.h

  • Committer: Tim Marston
  • Date: 2014-01-15 22:18:56 UTC
  • Revision ID: tim@ed.am-20140115221856-lcqttlborwi7ot7k
rc-interface: mostly completed it (untested, but rx and tx code should work)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
//                                                                      general
8
8
 
9
9
// 0 <= channel value <= this constant
10
 
#define MAX_CHANNEL_VALUE 1000
 
10
#define MAX_CHANNEL_VALUE 1000UL
11
11
 
12
12
// pulse width when channel value is 0 (in microseconds)
13
13
//#define MIN_PULSE_WIDTH 1150UL
17
17
//#define MAX_PULSE_WIDTH 1750UL
18
18
#define MAX_PULSE_WIDTH 2000UL
19
19
 
20
 
// LED pin
21
 
#define LED_PIN 13
22
 
 
23
20
// ____________________________________________________________________________
24
21
//                                                                     receiver
25
22