Errors during compiling
|
10-23-2016, 01:34 AM
Post: #1
|
|||
|
|||
Errors during compiling
Hello all!
My son put together BRobot and we try to compile the program. We got following messages: [b][i]Arduino: 1.6.5 (Windows 7), Board: "Arduino/Genuino Uno" BROBOT.ino: In function 'void __vector_11()': BROBOT:262: error: 'PORTE' was not declared in this scope BROBOT.ino:93:19: note: in definition of macro 'SET' BROBOT.ino: In function 'void setMotorSpeedM2(int16_t)': BROBOT:370: error: 'OCR3A' was not declared in this scope BROBOT:372: error: 'TCNT3' was not declared in this scope BROBOT.ino: In function 'void setup()': BROBOT:645: error: 'TCCR3A' was not declared in this scope BROBOT:646: error: 'TCCR3B' was not declared in this scope BROBOT:646: error: 'WGM32' was not declared in this scope BROBOT:646: error: 'CS31' was not declared in this scope BROBOT:647: error: 'OCR3A' was not declared in this scope BROBOT:649: error: 'TCNT3' was not declared in this scope BROBOT:661: error: 'TIMSK3' was not declared in this scope 'PORTE' was not declared in this scope This report would have more information with "Show verbose output during compilation" enabled in File > Preferences.[/b][/i] We tried different Arduino versions, same error messages. Can you help us, please? |
|||
10-23-2016, 01:32 PM
(This post was last modified: 10-23-2016 01:33 PM by sasa999.)
Post: #2
|
|||
|
|||
RE: Errors during compiling
You compile for Arduino Uno board?
|
|||
12-11-2016, 04:55 PM
Post: #3
|
|||
|
|||
RE: Errors during compiling
(10-23-2016 01:34 AM)electron0101 Wrote: Hello all! Did you ever get this resolved? |
|||
12-12-2016, 09:52 AM
Post: #4
|
|||
|
|||
RE: Errors during compiling
Select the arduino LEONARDO Board instead any other.
|
|||
12-13-2016, 12:20 AM
Post: #5
|
|||
|
|||
RE: Errors during compiling
(12-12-2016 01:16 PM)gebeindia22 Wrote: Compilation error refers to a state when a compiler fails to compile a piece of computer program source code, either due to errors in the code, or, more unusually, due to errors in the compiler itself. A compilation error message often helps programmers debugging the source code for possible errors. Makes no Difference which Arduino I use. See attached. |
|||
12-13-2016, 07:16 AM
Post: #6
|
|||
|
|||
RE: Errors during compiling
(10-23-2016 01:34 AM)electron0101 Wrote: Hello all!Arduino/Genuino Uno is a microcontroller board based on the ATmega328P. The Arduino Leonardo is a microcontroller board based on the ATmega32u4. Spot the Differences! Сhips have a different architecture. ATmega328P chip has no timer 3! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)