|
Arduino:1.8.13 (Windows 10), 开发板:"Arduino Uno"
C:\Users\Administrator\Desktop\ATmega-Soldering-Station-master\software\UI_upgrade_by_createskyblue\Program\1.7\test\1.7t2\SolderingStation2_arduboy_gplib_v1.7t2\SolderingStation2_arduboy_gplib_v1.7t2.ino: In function 'void InputNameScreen()':
C:\Users\Administrator\Desktop\ATmega-Soldering-Station-master\software\UI_upgrade_by_createskyblue\Program\1.7\test\1.7t2\SolderingStation2_arduboy_gplib_v1.7t2\SolderingStation2_arduboy_gplib_v1.7t2.ino:1198:10: warning: return-statement with a value, in function returning 'void' [-fpermissive]
return value;
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2.cpp: In static member function 'static bool Arduboy2Base::nextFrameDEV()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2.cpp:271:7: error: 'TXLED1' was not declared in this scope
TXLED1;
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2.cpp:271:7: note: suggested alternative: 'TWD1'
TXLED1;
^~~~~~
TWD1
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2.cpp:273:7: error: 'TXLED0' was not declared in this scope
TXLED0;
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2.cpp:273:7: note: suggested alternative: 'TXEN0'
TXLED0;
^~~~~~
TXEN0
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2.h:10:0,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Audio.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Audio.cpp: In static member function 'static void Arduboy2Audio:n()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:119:23: error: 'PORTC7' was not declared in this scope
#define SPEAKER_2_BIT PORTC7
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:112:49: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Audio.cpp:16:25: note: in expansion of macro 'SPEAKER_2_BIT'
bitSet(SPEAKER_2_DDR, SPEAKER_2_BIT);
^~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:119:23: note: suggested alternative: 'PORTB7'
#define SPEAKER_2_BIT PORTC7
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:112:49: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Audio.cpp:16:25: note: in expansion of macro 'SPEAKER_2_BIT'
bitSet(SPEAKER_2_DDR, SPEAKER_2_BIT);
^~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Audio.cpp: In static member function 'static void Arduboy2Audio:ff()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:119:23: error: 'PORTC7' was not declared in this scope
#define SPEAKER_2_BIT PORTC7
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:113:52: note: in definition of macro 'bitClear'
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
^~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Audio.cpp:29:27: note: in expansion of macro 'SPEAKER_2_BIT'
bitClear(SPEAKER_2_DDR, SPEAKER_2_BIT);
^~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:119:23: note: suggested alternative: 'PORTB7'
#define SPEAKER_2_BIT PORTC7
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:113:52: note: in definition of macro 'bitClear'
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
^~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Audio.cpp:29:27: note: in expansion of macro 'SPEAKER_2_BIT'
bitClear(SPEAKER_2_DDR, SPEAKER_2_BIT);
^~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp: In static member function 'static void BeepPin1::begin()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:18:3: error: 'TCCR3A' was not declared in this scope
TCCR3A = 0;
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:18:3: note: suggested alternative: 'TCCR0A'
TCCR3A = 0;
^~~~~~
TCCR0A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:19:3: error: 'TCCR3B' was not declared in this scope
TCCR3B = (bit(WGM32) | bit(CS31)); // CTC mode. Divide by 8 clock prescale
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:19:3: note: suggested alternative: 'TCCR0B'
TCCR3B = (bit(WGM32) | bit(CS31)); // CTC mode. Divide by 8 clock prescale
^~~~~~
TCCR0B
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:7:0:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:19:17: error: 'WGM32' was not declared in this scope
TCCR3B = (bit(WGM32) | bit(CS31)); // CTC mode. Divide by 8 clock prescale
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:19:17: note: suggested alternative: 'WGM12'
TCCR3B = (bit(WGM32) | bit(CS31)); // CTC mode. Divide by 8 clock prescale
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:19:30: error: 'CS31' was not declared in this scope
TCCR3B = (bit(WGM32) | bit(CS31)); // CTC mode. Divide by 8 clock prescale
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:19:30: note: suggested alternative: 'CS01'
TCCR3B = (bit(WGM32) | bit(CS31)); // CTC mode. Divide by 8 clock prescale
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp: In static member function 'static void BeepPin1::tone(uint16_t, uint8_t)':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:30:3: error: 'TCCR3A' was not declared in this scope
TCCR3A = bit(COM3A0); // set toggle on compare mode (which connects the pin)
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:30:3: note: suggested alternative: 'TCCR0A'
TCCR3A = bit(COM3A0); // set toggle on compare mode (which connects the pin)
^~~~~~
TCCR0A
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:7:0:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:30:16: error: 'COM3A0' was not declared in this scope
TCCR3A = bit(COM3A0); // set toggle on compare mode (which connects the pin)
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:30:16: note: suggested alternative: 'COM0A0'
TCCR3A = bit(COM3A0); // set toggle on compare mode (which connects the pin)
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:31:3: error: 'OCR3A' was not declared in this scope
OCR3A = count; // load the count (16 bits), which determines the frequency
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:31:3: note: suggested alternative: 'OCR2A'
OCR3A = count; // load the count (16 bits), which determines the frequency
^~~~~
OCR2A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp: In static member function 'static void BeepPin1::timer()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:37:5: error: 'TCCR3A' was not declared in this scope
TCCR3A = 0; // set normal mode (which disconnects the pin)
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:37:5: note: suggested alternative: 'TCCR0A'
TCCR3A = 0; // set normal mode (which disconnects the pin)
^~~~~~
TCCR0A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp: In static member function 'static void BeepPin1::noTone()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:44:3: error: 'TCCR3A' was not declared in this scope
TCCR3A = 0; // set normal mode (which disconnects the pin)
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:44:3: note: suggested alternative: 'TCCR0A'
TCCR3A = 0; // set normal mode (which disconnects the pin)
^~~~~~
TCCR0A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp: In static member function 'static void BeepPin2::begin()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:54:3: error: 'TCCR4A' was not declared in this scope
TCCR4A = 0; // normal mode. Disable PWM
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:54:3: note: suggested alternative: 'TCCR0A'
TCCR4A = 0; // normal mode. Disable PWM
^~~~~~
TCCR0A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:55:3: error: 'TCCR4B' was not declared in this scope
TCCR4B = bit(CS43); // divide by 128 clock prescale
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:55:3: note: suggested alternative: 'TCCR0B'
TCCR4B = bit(CS43); // divide by 128 clock prescale
^~~~~~
TCCR0B
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:7:0:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:55:16: error: 'CS43' was not declared in this scope
TCCR4B = bit(CS43); // divide by 128 clock prescale
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:55:16: note: suggested alternative: 'CS00'
TCCR4B = bit(CS43); // divide by 128 clock prescale
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:56:3: error: 'TCCR4D' was not declared in this scope
TCCR4D = 0; // normal mode
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:56:3: note: suggested alternative: 'TCCR0A'
TCCR4D = 0; // normal mode
^~~~~~
TCCR0A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:57:3: error: 'TC4H' was not declared in this scope
TC4H = 0; // toggle pin at count = 0
^~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:57:3: note: suggested alternative: 'PC4'
TC4H = 0; // toggle pin at count = 0
^~~~
PC4
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:58:3: error: 'OCR4A' was not declared in this scope
OCR4A = 0; // "
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:58:3: note: suggested alternative: 'OCR2A'
OCR4A = 0; // "
^~~~~
OCR2A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp: In static member function 'static void BeepPin2::tone(uint16_t, uint8_t)':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:69:3: error: 'TCCR4A' was not declared in this scope
TCCR4A = bit(COM4A0); // set toggle on compare mode (which connects the pin)
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:69:3: note: suggested alternative: 'TCCR0A'
TCCR4A = bit(COM4A0); // set toggle on compare mode (which connects the pin)
^~~~~~
TCCR0A
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:7:0:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:69:16: error: 'COM4A0' was not declared in this scope
TCCR4A = bit(COM4A0); // set toggle on compare mode (which connects the pin)
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:69:16: note: suggested alternative: 'COM0A0'
TCCR4A = bit(COM4A0); // set toggle on compare mode (which connects the pin)
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:124:25: note: in definition of macro 'bit'
#define bit(b) (1UL << (b))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:70:3: error: 'TC4H' was not declared in this scope
TC4H = highByte(count); // load the count (10 bits),
^~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:70:3: note: suggested alternative: 'PC4'
TC4H = highByte(count); // load the count (10 bits),
^~~~
PC4
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:71:3: error: 'OCR4C' was not declared in this scope
OCR4C = lowByte(count); // which determines the frequency
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:71:3: note: suggested alternative: 'OCR2A'
OCR4C = lowByte(count); // which determines the frequency
^~~~~
OCR2A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp: In static member function 'static void BeepPin2::timer()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:77:5: error: 'TCCR4A' was not declared in this scope
TCCR4A = 0; // set normal mode (which disconnects the pin)
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:77:5: note: suggested alternative: 'TCCR0A'
TCCR4A = 0; // set normal mode (which disconnects the pin)
^~~~~~
TCCR0A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp: In static member function 'static void BeepPin2::noTone()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:84:3: error: 'TCCR4A' was not declared in this scope
TCCR4A = 0; // set normal mode (which disconnects the pin)
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Beep.cpp:84:3: note: suggested alternative: 'TCCR0A'
TCCR4A = 0; // set normal mode (which disconnects the pin)
^~~~~~
TCCR0A
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp: In static member function 'static void Arduboy2Core::bootPins()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:142:3: error: 'PORTE' was not declared in this scope
PORTE |= _BV(A_BUTTON_BIT);
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:142:3: note: suggested alternative: 'PORT0'
PORTE |= _BV(A_BUTTON_BIT);
^~~~~
PORT0
In file included from h:\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from h:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:90,
from H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:10,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:102:22: error: 'PORTE6' was not declared in this scope
#define A_BUTTON_BIT PORTE6
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:142:16: note: in expansion of macro 'A_BUTTON_BIT'
PORTE |= _BV(A_BUTTON_BIT);
^~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:102:22: note: suggested alternative: 'PORTB6'
#define A_BUTTON_BIT PORTE6
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:142:16: note: in expansion of macro 'A_BUTTON_BIT'
PORTE |= _BV(A_BUTTON_BIT);
^~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:145:3: error: 'DDRE' was not declared in this scope
DDRE &= ~(_BV(A_BUTTON_BIT));
^~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:145:3: note: suggested alternative: 'DDRB'
DDRE &= ~(_BV(A_BUTTON_BIT));
^~~~
DDRB
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:149:3: error: 'PORTF' was not declared in this scope
PORTF |= _BV(LEFT_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:149:3: note: suggested alternative: 'PORT0'
PORTF |= _BV(LEFT_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~
PORT0
In file included from h:\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from h:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:90,
from H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:10,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:78:25: error: 'PORTF5' was not declared in this scope
#define LEFT_BUTTON_BIT PORTF5
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:149:16: note: in expansion of macro 'LEFT_BUTTON_BIT'
PORTF |= _BV(LEFT_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:78:25: note: suggested alternative: 'PORTB5'
#define LEFT_BUTTON_BIT PORTF5
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:149:16: note: in expansion of macro 'LEFT_BUTTON_BIT'
PORTF |= _BV(LEFT_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:84:26: error: 'PORTF6' was not declared in this scope
#define RIGHT_BUTTON_BIT PORTF6
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:149:39: note: in expansion of macro 'RIGHT_BUTTON_BIT'
PORTF |= _BV(LEFT_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:84:26: note: suggested alternative: 'PORTB6'
#define RIGHT_BUTTON_BIT PORTF6
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:149:39: note: in expansion of macro 'RIGHT_BUTTON_BIT'
PORTF |= _BV(LEFT_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:90:23: error: 'PORTF7' was not declared in this scope
#define UP_BUTTON_BIT PORTF7
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:150:16: note: in expansion of macro 'UP_BUTTON_BIT'
_BV(UP_BUTTON_BIT) | _BV(DOWN_BUTTON_BIT);
^~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:90:23: note: suggested alternative: 'PORTB7'
#define UP_BUTTON_BIT PORTF7
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:150:16: note: in expansion of macro 'UP_BUTTON_BIT'
_BV(UP_BUTTON_BIT) | _BV(DOWN_BUTTON_BIT);
^~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:96:25: error: 'PORTF4' was not declared in this scope
#define DOWN_BUTTON_BIT PORTF4
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:150:37: note: in expansion of macro 'DOWN_BUTTON_BIT'
_BV(UP_BUTTON_BIT) | _BV(DOWN_BUTTON_BIT);
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:96:25: note: suggested alternative: 'PORTB4'
#define DOWN_BUTTON_BIT PORTF4
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:150:37: note: in expansion of macro 'DOWN_BUTTON_BIT'
_BV(UP_BUTTON_BIT) | _BV(DOWN_BUTTON_BIT);
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:208:26: error: 'PORTF1' was not declared in this scope
#define RAND_SEED_IN_BIT PORTF1
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:152:18: note: in expansion of macro 'RAND_SEED_IN_BIT'
PORTF &= ~(_BV(RAND_SEED_IN_BIT));
^~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:208:26: note: suggested alternative: 'PORTB1'
#define RAND_SEED_IN_BIT PORTF1
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:152:18: note: in expansion of macro 'RAND_SEED_IN_BIT'
PORTF &= ~(_BV(RAND_SEED_IN_BIT));
^~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:154:3: error: 'DDRF' was not declared in this scope
DDRF &= ~(_BV(LEFT_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:154:3: note: suggested alternative: 'WDRF'
DDRF &= ~(_BV(LEFT_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~
WDRF
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp: In static member function 'static void Arduboy2Core::bootPowerSaving()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:289:3: error: 'PRR0' was not declared in this scope
PRR0 = _BV(PRTWI) | _BV(PRADC);
^~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:289:3: note: suggested alternative: 'PRR'
PRR0 = _BV(PRTWI) | _BV(PRADC);
^~~~
PRR
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:291:3: error: 'PRR1' was not declared in this scope
PRR1 |= _BV(PRUSART1);
^~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:291:3: note: suggested alternative: 'PRR'
PRR1 |= _BV(PRUSART1);
^~~~
PRR
In file included from h:\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from h:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:90,
from H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:10,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:291:15: error: 'PRUSART1' was not declared in this scope
PRR1 |= _BV(PRUSART1);
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:291:15: note: suggested alternative: 'PRUSART0'
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp: In static member function 'static uint8_t Arduboy2Core::buttonsState()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:542:16: error: 'PINF' was not declared in this scope
buttons = ((~PINF) &
^~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:542:16: note: suggested alternative: 'PIN0'
buttons = ((~PINF) &
^~~~
PIN0
In file included from h:\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from h:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:90,
from H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:10,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:90:23: error: 'PORTF7' was not declared in this scope
#define UP_BUTTON_BIT PORTF7
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:543:20: note: in expansion of macro 'UP_BUTTON_BIT'
(_BV(UP_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:90:23: note: suggested alternative: 'PORTB7'
#define UP_BUTTON_BIT PORTF7
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:543:20: note: in expansion of macro 'UP_BUTTON_BIT'
(_BV(UP_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:84:26: error: 'PORTF6' was not declared in this scope
#define RIGHT_BUTTON_BIT PORTF6
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:543:41: note: in expansion of macro 'RIGHT_BUTTON_BIT'
(_BV(UP_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:84:26: note: suggested alternative: 'PORTB6'
#define RIGHT_BUTTON_BIT PORTF6
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:543:41: note: in expansion of macro 'RIGHT_BUTTON_BIT'
(_BV(UP_BUTTON_BIT) | _BV(RIGHT_BUTTON_BIT) |
^~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:78:25: error: 'PORTF5' was not declared in this scope
#define LEFT_BUTTON_BIT PORTF5
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:544:20: note: in expansion of macro 'LEFT_BUTTON_BIT'
_BV(LEFT_BUTTON_BIT) | _BV(DOWN_BUTTON_BIT)));
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:78:25: note: suggested alternative: 'PORTB5'
#define LEFT_BUTTON_BIT PORTF5
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:544:20: note: in expansion of macro 'LEFT_BUTTON_BIT'
_BV(LEFT_BUTTON_BIT) | _BV(DOWN_BUTTON_BIT)));
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:96:25: error: 'PORTF4' was not declared in this scope
#define DOWN_BUTTON_BIT PORTF4
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:544:43: note: in expansion of macro 'DOWN_BUTTON_BIT'
_BV(LEFT_BUTTON_BIT) | _BV(DOWN_BUTTON_BIT)));
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:96:25: note: suggested alternative: 'PORTB4'
#define DOWN_BUTTON_BIT PORTF4
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:544:43: note: in expansion of macro 'DOWN_BUTTON_BIT'
_BV(LEFT_BUTTON_BIT) | _BV(DOWN_BUTTON_BIT)));
^~~~~~~~~~~~~~~
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:10:0,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:100:25: error: 'PINE' was not declared in this scope
#define A_BUTTON_PORTIN PINE
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:111:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:546:15: note: in expansion of macro 'A_BUTTON_PORTIN'
if (bitRead(A_BUTTON_PORTIN, A_BUTTON_BIT) == 0) { buttons |= A_BUTTON; }
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:100:25: note: suggested alternative: 'PIN0'
#define A_BUTTON_PORTIN PINE
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:111:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:546:15: note: in expansion of macro 'A_BUTTON_PORTIN'
if (bitRead(A_BUTTON_PORTIN, A_BUTTON_BIT) == 0) { buttons |= A_BUTTON; }
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:102:22: error: 'PORTE6' was not declared in this scope
#define A_BUTTON_BIT PORTE6
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:111:43: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:546:32: note: in expansion of macro 'A_BUTTON_BIT'
if (bitRead(A_BUTTON_PORTIN, A_BUTTON_BIT) == 0) { buttons |= A_BUTTON; }
^~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:102:22: note: suggested alternative: 'PORTB6'
#define A_BUTTON_BIT PORTE6
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:111:43: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:546:32: note: in expansion of macro 'A_BUTTON_BIT'
if (bitRead(A_BUTTON_PORTIN, A_BUTTON_BIT) == 0) { buttons |= A_BUTTON; }
^~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp: In static member function 'static void Arduboy2Core::exitToBootloader()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:593:15: error: 'MAGIC_KEY_POS' was not declared in this scope
*(uint8_t *)MAGIC_KEY_POS = lowByte(MAGIC_KEY);
^~~~~~~~~~~~~
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:10:0,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:593:39: error: 'MAGIC_KEY' was not declared in this scope
*(uint8_t *)MAGIC_KEY_POS = lowByte(MAGIC_KEY);
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:108:33: note: in definition of macro 'lowByte'
#define lowByte(w) ((uint8_t) ((w) & 0xff))
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp: In static member function 'static void Arduboy2NoUSB::mainNoUSB()':
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:610:3: error: 'UDCON' was not declared in this scope
UDCON = _BV(DETACH);
^~~~~
In file included from h:\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from h:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:90,
from H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:10,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:610:15: error: 'DETACH' was not declared in this scope
UDCON = _BV(DETACH);
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:610:15: note: suggested alternative: 'EEARH'
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:611:3: error: 'UDIEN' was not declared in this scope
UDIEN = 0;
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:611:3: note: suggested alternative: 'WDIE'
UDIEN = 0;
^~~~~
WDIE
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:612:3: error: 'UDINT' was not declared in this scope
UDINT = 0;
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:612:3: note: suggested alternative: 'TWINT'
UDINT = 0;
^~~~~
TWINT
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:613:3: error: 'USBCON' was not declared in this scope
USBCON = _BV(FRZCLK);
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:613:3: note: suggested alternative: 'USBS0'
USBCON = _BV(FRZCLK);
^~~~~~
USBS0
In file included from h:\arduino\hardware\tools\avr\avr\include\avr\io.h:99:0,
from h:\arduino\hardware\tools\avr\avr\include\avr\pgmspace.h:90,
from H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:28,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:10,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:613:16: error: 'FRZCLK' was not declared in this scope
USBCON = _BV(FRZCLK);
^
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:613:16: note: suggested alternative: 'EXCLK'
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:614:3: error: 'UHWCON' was not declared in this scope
UHWCON = 0;
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:614:3: note: suggested alternative: 'WCOL'
UHWCON = 0;
^~~~~~
WCOL
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:615:3: error: 'power_usb_disable' was not declared in this scope
power_usb_disable();
^~~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:615:3: note: suggested alternative: 'power_adc_disable'
power_usb_disable();
^~~~~~~~~~~~~~~~~
power_adc_disable
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:620:3: error: 'TX_RX_LED_INIT' was not declared in this scope
TX_RX_LED_INIT;
^~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:620:3: note: suggested alternative: 'GREEN_LED_BIT'
TX_RX_LED_INIT;
^~~~~~~~~~~~~~
GREEN_LED_BIT
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:621:3: error: 'TXLED0' was not declared in this scope
TXLED0;
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:621:3: note: suggested alternative: 'TXEN0'
TXLED0;
^~~~~~
TXEN0
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:622:3: error: 'RXLED0' was not declared in this scope
RXLED0;
^~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:622:3: note: suggested alternative: 'RXEN0'
RXLED0;
^~~~~~
RXEN0
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:10:0,
from C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:7:
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:93:26: error: 'PORTF' was not declared in this scope
#define DOWN_BUTTON_PORT PORTF
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:112:30: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:625:10: note: in expansion of macro 'DOWN_BUTTON_PORT'
bitSet(DOWN_BUTTON_PORT, DOWN_BUTTON_BIT);
^~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:93:26: note: suggested alternative: 'PORT0'
#define DOWN_BUTTON_PORT PORTF
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:112:30: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:625:10: note: in expansion of macro 'DOWN_BUTTON_PORT'
bitSet(DOWN_BUTTON_PORT, DOWN_BUTTON_BIT);
^~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:96:25: error: 'PORTF4' was not declared in this scope
#define DOWN_BUTTON_BIT PORTF4
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:112:49: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:625:28: note: in expansion of macro 'DOWN_BUTTON_BIT'
bitSet(DOWN_BUTTON_PORT, DOWN_BUTTON_BIT);
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:96:25: note: suggested alternative: 'PORTB4'
#define DOWN_BUTTON_BIT PORTF4
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:112:49: note: in definition of macro 'bitSet'
#define bitSet(value, bit) ((value) |= (1UL << (bit)))
^~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:625:28: note: in expansion of macro 'DOWN_BUTTON_BIT'
bitSet(DOWN_BUTTON_PORT, DOWN_BUTTON_BIT);
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:95:25: error: 'DDRF' was not declared in this scope
#define DOWN_BUTTON_DDR DDRF
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:113:32: note: in definition of macro 'bitClear'
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:626:12: note: in expansion of macro 'DOWN_BUTTON_DDR'
bitClear(DOWN_BUTTON_DDR, DOWN_BUTTON_BIT);
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:95:25: note: suggested alternative: 'WDRF'
#define DOWN_BUTTON_DDR DDRF
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:113:32: note: in definition of macro 'bitClear'
#define bitClear(value, bit) ((value) &= ~(1UL << (bit)))
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:626:12: note: in expansion of macro 'DOWN_BUTTON_DDR'
bitClear(DOWN_BUTTON_DDR, DOWN_BUTTON_BIT);
^~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:94:28: error: 'PINF' was not declared in this scope
#define DOWN_BUTTON_PORTIN PINF
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:111:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:632:15: note: in expansion of macro 'DOWN_BUTTON_PORTIN'
if (bitRead(DOWN_BUTTON_PORTIN, DOWN_BUTTON_BIT) == 0) {
^~~~~~~~~~~~~~~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.h:94:28: note: suggested alternative: 'PIN0'
#define DOWN_BUTTON_PORTIN PINF
^
H:\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:111:32: note: in definition of macro 'bitRead'
#define bitRead(value, bit) (((value) >> (bit)) & 0x01)
^~~~~
C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2\src\Arduboy2Core.cpp:632:15: note: in expansion of macro 'DOWN_BUTTON_PORTIN'
if (bitRead(DOWN_BUTTON_PORTIN, DOWN_BUTTON_BIT) == 0) {
^~~~~~~~~~~~~~~~~~
"Arduboy2.h" 对应多个库
已使用: C:\Users\Administrator\Documents\Arduino\libraries\Arduboy2
未使用:h:\Arduino\libraries\Arduboy2
exit status 1
为开发板 Arduino Uno 编译时出错。
出错是什么问题,加载两个库理的实例编译都没问题。。。请解惑。谢谢! |
|