Subversion Repositories FlightCtrl

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 29
Line 3... Line 3...
3
#######################################################################################*/
3
#######################################################################################*/
Line 4... Line 4...
4
 
4
 
5
#ifndef _FC_H
5
#ifndef _FC_H
Line -... Line 6...
-
 
6
#define _FC_H
-
 
7
 
-
 
8
 
-
 
9
//#define My stuff
-
 
10
 
-
 
11
#define MS_SCHALTERWERT1        20
-
 
12
#define MS_SCHALTERWERT2        100
-
 
13
#define MS_SCHALTERWERT3        200
-
 
14
#define MS_SERVO_AN                     100
-
 
15
 
-
 
16
#define T1_ON PORTC |= 0x04
-
 
17
#define T1_OFF PORTC &=~0x04
-
 
18
#define T1_Switch PORTC ^= (1<<PIN2)
-
 
19
#define T2_ON PORTC |= 0x08
-
 
20
#define T2_OFF PORTC &=~0x08
-
 
21
#define T2_Switch PORTC ^= (1<<PIN3)
-
 
22
 
-
 
23
extern unsigned int Blinki;
-
 
24
unsigned char Blinkzeit;
-
 
25
//end My stuff 
6
#define _FC_H
26
 
7
 
27
 
8
extern volatile unsigned char Timeout;
28
extern volatile unsigned char Timeout;
9
extern unsigned char Sekunde,Minute;
29
extern unsigned char Sekunde,Minute;
10
extern volatile long IntegralNick,IntegralNick2;
30
extern volatile long IntegralNick,IntegralNick2;