Revision 1286
Implemented ibom_update() function. Found the analog ports for the IR
LED detectors, and found the pin for the IR LED emitter.
main.c | ||
---|---|---|
80 | 80 |
comm_robot_init (); |
81 | 81 |
orb2_set (255, 0, 0); usb_puts("# Done" NL); |
82 | 82 |
|
83 |
interactive_main ();
|
|
83 |
while (1) {
|
|
84 | 84 |
|
85 |
while (1); |
|
85 |
ibom_set(true); |
|
86 |
delay_ms(500); |
|
87 |
ibom_set(false); |
|
88 |
delay_ms(500); |
|
89 |
} |
|
86 | 90 |
return 0; |
87 | 91 |
} |
88 | 92 |
|
Also available in: Unified diff