Project

General

Profile

Revision 1205

Implemented single encoder testing
Cleaned up motor direction/wall direction naming

View differences:

hardware_wall.c
5 5
	// FIXME implement
6 6
}
7 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

  
8 18
void wall_set_position (uint16_t position)
9 19
{
10 20
	usb_puts ("# Moving wall to position ");

Also available in: Unified diff