Project

General

Profile

Revision 807483bf

ID807483bfcb4c1490e8ef4794cf6c19b93211894a

Added by Thomas Mullins over 4 years ago

Fixed range sensor code to support 2

Also, tested (with only one sensor) and it seemed to work adequately.

View differences:

scout_avr/src/Atmega128rfa1.cpp
21 21
  millis++;
22 22
}
23 23

  
24
ISR(USART_RX_vect)
24
ISR(USART0_RX_vect)
25 25
{
26 26
  char data = UDR0;
27 27
  if (rx_end == rx_start-1 || (rx_start == 0 && rx_end == RX_BUFFER_SIZE-1))

Also available in: Unified diff