Subversion Repositories HomeAutomation

Rev

Rev 501 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 501 Rev 502
1
/*
1
/*
2
 * NodeServo application settings.
2
 * NodeServo application settings.
3
 * Defines specific for one node/application
3
 * Defines specific for one node/application
4
 */
4
 */
5
 
5
 
6
/* Servo IDs, 6 bits */
6
/* Servo IDs, 6 bits */
7
#define SERVOID_1 0x01
7
#define SERVOID_1 0x01
8
#define SERVOID_2 0x02
8
#define SERVOID_2 0x02
9
#define SERVOID_3 0x03
9
#define SERVOID_3 0x03
10
 
10
 
11
//#define TWO_BUTTON_MODE
11
//#define TWO_BUTTON_MODE
12
 
12
 
13
/*
13
/*
14
 * As default nothing needs to be changed below here
14
 * As default nothing needs to be changed below here
15
 */
15
 */
16
 
16
 
17
/* Degrees celcius when the node goes into failsafe mode */
17
/* Degrees celcius when the node goes into failsafe mode */
18
#define FAILSAFE_TRESHOLD 50 // degrees celcius
18
#define FAILSAFE_TRESHOLD 50 // degrees celcius
19
 
19
 
20
/* How long time after turning pwm should be active */
20
/* How long time after turning pwm should be active */
21
#define SERVO_FEED_TIME 5000 // milliseconds
21
#define SERVO_FEED_TIME 5000 // milliseconds
22
 
22
 
-
 
23
#define STEPS_PER_TURN_PERIOD   1 // number of steps for each adjustment
-
 
24
#define TURN_PERIOD             9 // ms
23
 
25