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