Details | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 207 | eqlazer | 1 | /* |
| 2 | * PWM output to control a RC servo |
||
| 3 | * |
||
| 4 | * Author: Erik Larsson |
||
| 5 | * Date: 2007-01-04 |
||
| 6 | * |
||
| 7 | */ |
||
| 8 | |||
| 9 | /*----------------------------------------------- |
||
| 10 | * Includes |
||
| 11 | * ---------------------------------------------*/ |
||
| 12 | #include <avr/io.h> |
||
| 13 | #include <stdio.h> |
||
| 14 | |||
| 15 | #include <rc_servo.h> |
||
| 16 | |||
| 17 | |||
| 18 | /*---------------------------------------------- |
||
| 19 | * Functions |
||
| 20 | * --------------------------------------------*/ |
||
| 21 | |||
| 22 | /* |
||
| 23 | * Initiate PWM output. |
||
| 24 | */ |
||
| 25 | void rcServoInit(){ |
||
| 26 | |||
| 27 | } |
||
| 28 | |||
| 29 | void setPosition(int8_t abs_pos){ |
||
| 30 | |||
| 31 | } |
||
| 32 | |||
| 33 | void alterPosition(int8_t rel_pos){ |
||
| 34 | |||
| 35 | } |
||
| 36 | |||
| 37 | int8_t getPosition(){ |
||
| 38 | |||
| 39 | } |
||
| 40 |