Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / diagnostic_station / station / hardware_wall.c @ 1205

History | View | Annotate | Download (600 Bytes)

1
#include "hardware_wall.h"
2

    
3
void wall_init ()
4
{
5
        // FIXME implement
6
}
7

    
8
char *wall_direction_string (uint8_t direction)
9
{
10
        if (direction==1)
11
                return "out";
12
        else if (direction==2)
13
                return "in";
14
        else
15
                return "?";
16
}
17

    
18
void wall_set_position (uint16_t position)
19
{
20
        usb_puts ("# Moving wall to position ");
21
        usb_puti (position);
22
        usb_puts (NL);
23
        
24
        // FIXME implement
25
        
26
        usb_puts ("# Wall position reached");
27
}
28

    
29
// We might also need this because the wall_set_position might not reach the exact position
30
uint16_t wall_get_position ()
31
{
32
        // FIXME implement
33
        return 0;
34
}