Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / diagnostic_station / station / hardware_turntable.h @ 1295

History | View | Annotate | Download (398 Bytes)

1
#ifndef _hardware_turntable_h
2
#define _hardware_turntable_h
3

    
4
#include <dragonfly_lib.h>
5
#include "global.h"
6

    
7
void turntable_init (void);
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);
13
uint16_t turntable_get_position (void);
14

    
15
#endif