Форум

Новые сообщения · Участники · Правила форума
  • Страница 1 из 1
  • 1
Arduino Nano
london
london
2019-03-13 10:25 #1
Код
C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp: In member function 'void Adafruit_CircuitPlayground::playTone(uint16_t, uint16_t, bool)':

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:201:3: error: 'PLLFRQ' was not declared in this scope

PLLFRQ  = (PLLFRQ & 0xCF) | 0x30;   // Route PLL to async clk

^

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:202:3: error: 'TCCR4A' was not declared in this scope

TCCR4A  = _BV(COM4A0) | _BV(PWM4A); // Clear on match, PWMA on

^

In file included from c:\users\igel\desktop\������������ �������\arduino-nightly\hardware\tools\avr\avr\include\avr\io.h:99:0,

from c:\users\igel\desktop\������������ �������\arduino-nightly\hardware\tools\avr\avr\include\avr\pgmspace.h:90,

from C:\Users\Igel\Desktop\������������ �������\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:28,

from C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:20,

from C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:30:

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:202:17: error: 'COM4A0' was not declared in this scope

TCCR4A  = _BV(COM4A0) | _BV(PWM4A); // Clear on match, PWMA on

^

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:202:31: error: 'PWM4A' was not declared in this scope

TCCR4A  = _BV(COM4A0) | _BV(PWM4A); // Clear on match, PWMA on

^

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:203:3: error: 'TCCR4B' was not declared in this scope

TCCR4B  = _BV(PWM4X)  | scalebits;  // PWM invert

^

In file included from c:\users\igel\desktop\������������ �������\arduino-nightly\hardware\tools\avr\avr\include\avr\io.h:99:0,

from c:\users\igel\desktop\������������ �������\arduino-nightly\hardware\tools\avr\avr\include\avr\pgmspace.h:90,

from C:\Users\Igel\Desktop\������������ �������\arduino-nightly\hardware\arduino\avr\cores\arduino/Arduino.h:28,

from C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground/Adafruit_Circuit_Playground.h:20,

from C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:30:

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:203:17: error: 'PWM4X' was not declared in this scope

TCCR4B  = _BV(PWM4X)  | scalebits;  // PWM invert

^

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:204:3: error: 'TCCR4D' was not declared in this scope

TCCR4D  = 0;                        // Fast PWM mode

^

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:205:3: error: 'TCCR4E' was not declared in this scope

TCCR4E  = 0;                        // Not enhanced mode

^

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:206:3: error: 'DT4' was not declared in this scope

DT4     = 0;                        // No dead time

^

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:212:3: error: 'TC4H' was not declared in this scope

TC4H    = hi1;

^

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:213:3: error: 'OCR4C' was not declared in this scope

OCR4C   = lo1;                      // TOP

^

C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground\Adafruit_CircuitPlayground.cpp:215:3: error: 'OCR4A' was not declared in this scope

OCR4A   = lo2;                      // 50% duty

^

Несколько библиотек найдено для "Adafruit_CircuitPlayground.h"
Используется: C:\Users\Igel\Documents\Arduino\libraries\Adafruit_Circuit_Playground
Не используется: C:\Users\Igel\Desktop\перепрошивка ардуино\arduino-nightly\libraries\Adafruit_Circuit_Playground
Не используется: C:\Users\Igel\Desktop\перепрошивка ардуино\arduino-nightly\libraries\Adafruit_Circuit_Playground
Не используется: C:\Users\Igel\Desktop\перепрошивка ардуино\arduino-nightly\libraries\Adafruit_Circuit_Playground
Не используется: C:\Users\Igel\Desktop\перепрошивка ардуино\arduino-nightly\libraries\Adafruit_Circuit_Playground
Несколько библиотек найдено для "U8glib.h"
Используется: C:\Users\Igel\Documents\Arduino\libraries\U8glib
Не используется: C:\Users\Igel\Documents\Arduino\libraries\arduino_52586
Не используется: C:\Users\Igel\Desktop\перепрошивка ардуино\arduino-nightly\libraries\U8glib

exit status 1
Ошибка компиляции для платы Arduino Nano.

Профиль

london
TehnopageTeam
щит админа


london
london
2019-03-13 10:27 #2
Что с этим делать, как решить проблему?

Профиль
  • Страница 1 из 1
  • 1
Поиск: