Changed sonar/bom timer to 64 prescalar
Also fixed bug in the bom's timer usage, where it depended on an integeroverflow that was no longer occuring due to the higher F_CPU.
Changed range sensor to read on-demand
Fixed pins to work with 128rfa1 instead of 2560
Moved some sensors to different timers
Most notably, change the ROS millisecond counter to share the BOM 38 kHztimer instead of having its own. The range sensor and BOM rx will nowshare timer 5, but they both have to be fixed for the higher F_CPU.
Some fixes to BOM, which is now tested and it works
Added initial BOM code
Only the sending code has been tested; receiving will soon be tested aswell.
Fixed range sensor code to support 2
Also, tested (with only one sensor) and it seemed to work adequately.
Fixed compiler errors in scout_avr
Added second range sensor to scout_avr
Not yet tested.
Added and tested range sensor to scout_avr
Max output should be 37500 (max observed value actually ~38600), and itmay be scaled down later. Also, the second sonar will need to be addedlater... forgot about that...
Also, added an option to avrdude in the Makefile which makes it upload...