Subversion Repositories FlightCtrl

Rev

Rev 1821 | Rev 1964 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1821 Rev 1864
Line 1... Line 1...
1
#ifndef _RC_H
1
#ifndef _RC_H
2
#define _RC_H
2
#define _RC_H
Line 3... Line 3...
3
 
3
 
Line 4... Line -...
4
#include <inttypes.h>
-
 
5
 
-
 
6
#define J3HIGH    PORTD |= (1<<PORTD5)
-
 
7
#define J3LOW     PORTD &= ~(1<<PORTD5)
-
 
8
#define J3TOGGLE  PORTD ^= (1<<PORTD5)
-
 
9
 
-
 
10
#define J4HIGH    PORTD |= (1<<PORTD4)
-
 
11
#define J4LOW     PORTD &= ~(1<<PORTD4)
-
 
12
#define J4TOGGLE  PORTD ^= (1<<PORTD4)
-
 
13
 
-
 
14
#define J5HIGH    PORTD |= (1<<PORTD3)
-
 
15
#define J5LOW     PORTD &= ~(1<<PORTD3)
-
 
16
#define J5TOGGLE  PORTD ^= (1<<PORTD3)
4
#include <inttypes.h>
Line 17... Line 5...
17
 
5
 
18
#define MAX_CHANNELS 10
6
#define MAX_CHANNELS 10