Replies

  • Hello, I am new to Arduino and have some compiling problems.
    I’ve been reading the forums but have not been able to find the answer.
    After following the instructions on the READ ME document and moving the libraries folder I still get a compilation error. 
    Here are the errors: 
    ArduCopter.pde:-1: error: 'UBRR1H' was not declared in this scope
    ArduCopter.pde:-1: error: 'UBRR1L' was not declared in this scope
    ArduCopter.pde:-1: error: 'UCSR1A' was not declared in this scope
    ArduCopter.pde:-1: error: 'UCSR1B' was not declared in this scope
    ArduCopter.pde:-1: error: 'U2X1' was not declared in this scope
    ArduCopter.pde:-1: error: 'RXEN1' was not declared in this scope
    ArduCopter.pde:-1: error: 'TXEN1' was not declared in this scope
    ArduCopter.pde:-1: error: 'RXCIE1' was not declared in this scope
    ArduCopter.pde:-1: error: 'UDRIE1' was not declared in this scope
    ArduCopter.cpp: In function 'void USART1_RX_vect()':
    ArduCopter.pde:-1: error: 'UDR1' was not declared in this scope
    ArduCopter.cpp: In function 'void USART1_UDRE_vect()':
    ArduCopter.pde:-1: error: 'UDR1' was not declared in this scope
    ArduCopter.pde:-1: error: 'UCSR1B' was not declared in this scope
    ArduCopter.pde:-1: error: 'UDRIE1' was not declared in this scope
    ArduCopter.cpp: At global scope:
    ArduCopter.pde:-1: error: 'UBRR3H' was not declared in this scope
    ArduCopter.pde:-1: error: 'UBRR3L' was not declared in this scope
    ArduCopter.pde:-1: error: 'UCSR3A' was not declared in this scope
    ArduCopter.pde:-1: error: 'UCSR3B' was not declared in this scope
    ArduCopter.pde:-1: error: 'U2X3' was not declared in this scope
    ArduCopter.pde:-1: error: 'RXEN3' was not declared in this scope
    ArduCopter.pde:-1: error: 'TXEN3' was not declared in this scope
    ArduCopter.pde:-1: error: 'RXCIE3' was not declared in this scope
    ArduCopter.pde:-1: error: 'UDRIE3' was not declared in this scope
    ArduCopter.cpp: In function 'void USART3_RX_vect()':
    ArduCopter.pde:-1: error: 'UDR3' was not declared in this scope
    ArduCopter.cpp: In function 'void USART3_UDRE_vect()':
    ArduCopter.pde:-1: error: 'UDR3' was not declared in this scope
    ArduCopter.pde:-1: error: 'UCSR3B' was not declared in this scope
    ArduCopter.pde:-1: error: 'UDRIE3' was not declared in this scope
    ArduCopter.cpp: In function 'void init_ardupilot()':
    ArduCopter.pde:-1: error: 'DDRL' was not declared in this scope

    I conducted a search for the words in single quotes but could not find any of them.
    Can anybody provide assistance?

  • you probably have the wrong arduino board selected in your options
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…