Project

General

Profile

Revision 1549

Added by John Sexton over 14 years ago

Updated IR rangefinder lookup table. Now reports in millimeters with an accuracy of +-10mm.

View differences:

main.c
11 11
	while (1) {
12 12

  
13 13
		usb_puts("Val: ");
14
		bom_refresh(BOM_ALL);
15
		usb_puti(bom_get_max());
16

  
14
		usb_puti(range_read_distance(IR2));
17 15
		usb_putc('\n');
18 16

  
19 17
		delay_ms(200);

Also available in: Unified diff