Revision 1255
renamed the _encoders files to _dynamos
hardware_turntable.h | ||
---|---|---|
5 | 5 |
#include "global.h" |
6 | 6 |
|
7 | 7 |
void turntable_init (void); |
8 |
void turntable_rotate_to_position (uint16_t position); |
|
8 |
/* |
|
9 |
* position: 10 bit angle, 0 is facing directly in to the station |
|
10 |
* positive numbers are counterclockwise looking down on the robot |
|
11 |
*/ |
|
12 |
void turntable_rotate_to_position (int16_t position); |
|
9 | 13 |
uint16_t turntable_get_position (void); |
10 | 14 |
|
11 | 15 |
#endif |
Also available in: Unified diff