Revision ec9e417d
ID | ec9e417da9689f8ed4cf566110abcaf8f462f876 |
Added second range sensor to scout_avr
Not yet tested.
scout_avr/src/main.cpp | ||
---|---|---|
52 | 52 |
now = avr.time(); |
53 | 53 |
if (now > next) { |
54 | 54 |
next = now + 100; |
55 |
utoa(range_get(), buf, 10); |
|
55 |
utoa(range_get(0), buf, 10);
|
|
56 | 56 |
avr.write((uint8_t*) buf, strlen(buf)); |
57 | 57 |
/*data = avr.read(); |
58 | 58 |
if (data >= 0) |
Also available in: Unified diff