Project

General

Profile

Revision 1256

rbom->ibom

View differences:

trunk/code/projects/diagnostic_station/station/hardware_ibom.c
12 12
{
13 13
	if (on)
14 14
	{
15
		usb_puts ("# Turning RBOM light on" NL);
15
		usb_puts ("# Turning IBOM light on" NL);
16 16
		// FIXME implement
17 17
	}
18 18
	else
19 19
	{
20
		usb_puts ("# Turning RBOM light off" NL);
20
		usb_puts ("# Turning IBOM light off" NL);
21 21
		// FIXME implement
22 22
	}
23 23
}
24 24

  
25 25
void ibom_read (uint16_t *top, uint16_t *left, uint16_t *right)
26 26
{
27
	usb_puts ("# Reading RBOM" NL);
27
	usb_puts ("# Reading IBOM" NL);
28 28
	// FIXME implement
29 29
	
30 30
	*top=0;
......
39 39

  
40 40
void ibom_debug (void)
41 41
{
42
	usb_puts("# Debugging RBOM\n");
42
	usb_puts("# Debugging IBOM\n");
43 43

  
44 44
	while(1) {
45 45
		pUsr(0x0, 0x10, 500);
trunk/code/projects/diagnostic_station/station/hardware_ibom.h
9 9
 * (S)outh, (E)ast, and (W)est positions.
10 10
 */
11 11
// FIXME do it right
12
#define RBOM_SENSOR_LEFT AN3
13
#define RBOM_SENSOR_RIGHT AN4
14
#define RBOM_SENSOR_TOP AN5
15
//#define RBOM_SENSOR_ AN6
12
#define IBOM_SENSOR_LEFT AN3
13
#define IBOM_SENSOR_RIGHT AN4
14
#define IBOM_SENSOR_TOP AN5
15
//#define IBOM_SENSOR_ AN6
16 16

  
17 17
void ibom_init (void);
18 18

  

Also available in: Unified diff