Project

General

Profile

Revision 1267

Improved station dump mode
Added station dump ADC mode
Removed IBOM debug functions (superseded by dump mode)

View differences:

comm_interactive.c
17 17
{
18 18
	while (1)
19 19
	{
20
		usb_puts ("# Dump station sensors menu: (e)ncoders, (w)all, (t)urntable, (r)bom, (a)dc" NL);
20
		usb_puts ("# Dump station sensors menu: (d)ynamos, (w)all, (t)urntable, (i)bom, (a)dc" NL);
21 21

  
22 22
		char choice = usb_getc ();
23 23
		switch (choice) {
24
			case 'e': case 'E': dump_station_dynamos   ();         break;
25
			case 'w': case 'W': dump_station_wall      ();         break;
26
			case 't': case 'T': dump_station_turntable ();         break;
27
			case 'r': case 'R': dump_station_ibom      ();         break;
28
			case 'a': case 'A': dump_station_adc       (0, 16, 0); break;
24
			case 'd': case 'D': dump_station_dynamos   ();           break;
25
			case 'w': case 'W': dump_station_wall      ();           break;
26
			case 't': case 'T': dump_station_turntable ();           break;
27
			case 'i': case 'I': dump_station_ibom      ();           break;
28
			case 'a': case 'A': dump_station_adc       (0, 16, 100); break;
29 29
			case ESC: return;
30 30
			default: break;
31 31
		}

Also available in: Unified diff