Revision 1245
Changed some function signatures for robot communication
test_bom.c | ||
---|---|---|
78 | 78 |
usb_puts(NL); |
79 | 79 |
turntable_rotate_to_position (bom_detector_position (n)); |
80 | 80 |
|
81 |
uint16_t on_value, off_value; |
|
82 |
|
|
81 | 83 |
rbom_set (true); |
82 |
uint16_t on_value=robot_read_bom (n);
|
|
84 |
robot_read_bom (n, &on_value);
|
|
83 | 85 |
rbom_set (false); |
84 |
uint16_t off_value=robot_read_bom (n);
|
|
86 |
robot_read_bom (n, &off_value);
|
|
85 | 87 |
|
86 | 88 |
// Send data |
87 | 89 |
usb_puts ("data bom detector "); |
Also available in: Unified diff