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

Joseph Udofia liked Joseph Udofia's profile
14 hours ago
DIY Robocars via Twitter
Jan 28
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore ⁦@PiAndMore⁩ on Jan 23rd h…
Jan 23
DIY Robocars via Twitter
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3: https://t.co/…
Jan 23
DIY Robocars via Twitter
Great new guide to using @donkey_car https://custom-build-robots.com/donkey-car-e-book-en
Jan 23
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch https://www.meetup.com/DIYRobocars/events/275268196/
Jan 22
DIY Robocars via Twitter
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
Jan 21
DIY Drones via Twitter
Using ArduRover with an RTK GPS https://ift.tt/2N9I3RO
Jan 18
DIY Drones via Twitter
Jan 18
DIY Robocars via Twitter
Jan 18
DIY Robocars via Twitter
Jan 15
DIY Robocars via Twitter
Jan 15
DIY Drones via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
Jan 14
DIY Robocars via Twitter
Jan 14
DIY Robocars via Twitter
RT @Heavy02011: ⁦@diyrobocars⁩ Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ ⁦@f1tenth⁩ ⁦@DAVGtech⁩ ⁦@DWalmroth⁩…
Jan 11
More…