Arduino:1.8.10 (Mac OS X), ボード:"ATtiny3216/1616/1606/816/806/416/406, ATtiny3216, 20 MHz, 1.8V, Disabled, Disabled, EEPROM retained, 0.55V, Enabled (default timer), PORTA (pins 0~3,14~17), Closer to 5v, TX:7, RX:6, SDA:8, SCL:9, SCK:16, MISO:15, MOSI:14" In file included from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/io.h:99:0, from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/pgmspace.h:90, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/String.h:30, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Print.h:24, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Stream.h:25, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Client.h:22, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/ArduinoAPI.h:29, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/Arduino.h:23, from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/MozziGuts.cpp:14: /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h: In member function 'void TimerOne::setPeriodCPUCycles(long unsigned int)': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:89:26: error: 'CS10' was not declared in this scope clockSelectBits = _BV(CS10); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_rand.cpp: In function 'void randSeed()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_rand.cpp:119:2: error: 'ADCSRA' was not declared in this scope ADCSRA &= ~ (1 << ADIE); // adc Disable Interrupt, re-enable at end ^~~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:89:26: note: suggested alternative: 'A10' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:95:27: error: 'CS11' was not declared in this scope clockSelectBits = _BV(CS11); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:95:27: note: suggested alternative: 'A11' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:101:28: error: 'CS11' was not declared in this scope clockSelectBits = _BV(CS11) | _BV(CS10); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_rand.cpp:119:2: note: suggested alternative: 'ADC_t' ADCSRA &= ~ (1 << ADIE); // adc Disable Interrupt, re-enable at end ^~~~~~ ADC_t /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_rand.cpp:119:20: error: 'ADIE' was not declared in this scope ADCSRA &= ~ (1 << ADIE); // adc Disable Interrupt, re-enable at end ^~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_rand.cpp:119:20: note: suggested alternative: 'ADC0' ADCSRA &= ~ (1 << ADIE); // adc Disable Interrupt, re-enable at end ^~~~ ADC0 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp: In function 'void setupFastAnalogRead(int8_t)': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:43:3: error: 'ADCSRA' was not declared in this scope ADCSRA |= (1 << ADPS2); ^~~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:43:3: note: suggested alternative: 'ADC_t' ADCSRA |= (1 << ADPS2); ^~~~~~ ADC_t /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:101:28: note: suggested alternative: 'A11' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:43:19: error: 'ADPS2' was not declared in this scope ADCSRA |= (1 << ADPS2); ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:101:40: error: 'CS10' was not declared in this scope clockSelectBits = _BV(CS11) | _BV(CS10); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:44:20: error: 'ADPS1' was not declared in this scope ADCSRA &= ~(1 << ADPS1); ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:101:40: note: suggested alternative: 'A10' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:107:29: error: 'CS12' was not declared in this scope clockSelectBits = _BV(CS12); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:44:20: note: suggested alternative: 'ADC1' ADCSRA &= ~(1 << ADPS1); ^~~~~ ADC1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:45:20: error: 'ADPS0' was not declared in this scope ADCSRA &= ~(1 << ADPS0); ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:113:30: error: 'CS12' was not declared in this scope clockSelectBits = _BV(CS12) | _BV(CS10); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:45:20: note: suggested alternative: 'ADC0' ADCSRA &= ~(1 << ADPS0); ^~~~~ ADC0 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:47:3: error: 'ADCSRA' was not declared in this scope ADCSRA &= ~(1 << ADPS2); ^~~~~~ In file included from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/io.h:99:0, from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/pgmspace.h:90, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/String.h:30, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Print.h:24, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Stream.h:25, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Client.h:22, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/ArduinoAPI.h:29, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/Arduino.h:23, from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/hardware_defines.h:5, from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:8: /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp: In function 'void initialize_twi_nonblock()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:50:9: error: 'PORTD' was not declared in this scope sbi(PORTD, 0); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:50:5: note: in expansion of macro 'sbi' sbi(PORTD, 0); ^~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:113:42: error: 'CS10' was not declared in this scope clockSelectBits = _BV(CS12) | _BV(CS10); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:50:9: note: suggested alternative: 'PORT0' sbi(PORTD, 0); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:50:5: note: in expansion of macro 'sbi' sbi(PORTD, 0); ^~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:47:3: note: suggested alternative: 'ADC_t' ADCSRA &= ~(1 << ADPS2); ^~~~~~ ADC_t /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:47:20: error: 'ADPS2' was not declared in this scope ADCSRA &= ~(1 << ADPS2); ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:55:7: error: 'TWSR' was not declared in this scope cbi(TWSR, TWPS0); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:55:3: note: in expansion of macro 'cbi' cbi(TWSR, TWPS0); ^~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:113:42: note: suggested alternative: 'A10' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:118:30: error: 'CS12' was not declared in this scope clockSelectBits = _BV(CS12) | _BV(CS10); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:55:7: note: suggested alternative: 'TWI0' cbi(TWSR, TWPS0); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:55:3: note: in expansion of macro 'cbi' cbi(TWSR, TWPS0); ^~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:55:13: error: 'TWPS0' was not declared in this scope cbi(TWSR, TWPS0); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:55:3: note: in expansion of macro 'cbi' cbi(TWSR, TWPS0); ^~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:48:19: error: 'ADPS1' was not declared in this scope ADCSRA |= (1 << ADPS1); ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:118:42: error: 'CS10' was not declared in this scope clockSelectBits = _BV(CS12) | _BV(CS10); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:55:13: note: suggested alternative: 'TWI0' cbi(TWSR, TWPS0); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:55:3: note: in expansion of macro 'cbi' cbi(TWSR, TWPS0); ^~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:56:13: error: 'TWPS1' was not declared in this scope cbi(TWSR, TWPS1); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:56:3: note: in expansion of macro 'cbi' cbi(TWSR, TWPS1); ^~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:57:3: error: 'TWBR' was not declared in this scope TWBR = ((F_CPU / TWI_FREQ) - 16) / 2; ^~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:118:42: note: suggested alternative: 'A10' In file included from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/MozziGuts.cpp:27:0: /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:121:3: error: 'ICR1' was not declared in this scope ICR1 = pwmPeriod; ^~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:57:3: note: suggested alternative: 'TWI0' TWBR = ((F_CPU / TWI_FREQ) - 16) / 2; ^~~~ TWI0 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:65:3: error: 'TWCR' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA); ^~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:121:3: note: suggested alternative: 'AC1' ICR1 = pwmPeriod; ^~~~ AC1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:122:3: error: 'TCCR1B' was not declared in this scope TCCR1B = TCCR1B_PWM_MODE_BITS | clockSelectBits; ^~~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:48:19: note: suggested alternative: 'ADC1' ADCSRA |= (1 << ADPS1); ^~~~~ ADC1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:49:19: error: 'ADPS0' was not declared in this scope ADCSRA |= (1 << ADPS0); ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:65:3: note: suggested alternative: 'TWI0' TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA); ^~~~ TWI0 In file included from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/io.h:99:0, from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/pgmspace.h:90, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/String.h:30, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Print.h:24, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Stream.h:25, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Client.h:22, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/ArduinoAPI.h:29, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/Arduino.h:23, from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/hardware_defines.h:5, from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:8: /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:65:14: error: 'TWEN' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:65:14: note: suggested alternative: 'TWI0' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:65:26: error: 'TWIE' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:49:19: note: suggested alternative: 'ADC0' ADCSRA |= (1 << ADPS0); ^~~~~ ADC0 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:51:3: error: 'ADCSRA' was not declared in this scope ADCSRA &= ~(1 << ADPS2); ^~~~~~ In file included from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_utils.cpp:1:0: /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_utils.h: In function 'void setPin13Out()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_utils.h:29:2: error: 'DDRB' was not declared in this scope DDRB |= B00100000; ^~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:65:26: note: suggested alternative: 'TWI0' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:65:38: error: 'TWEA' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:122:3: note: suggested alternative: 'TCB1' TCCR1B = TCCR1B_PWM_MODE_BITS | clockSelectBits; ^~~~~~ TCB1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h: In member function 'void TimerOne::start()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:130:3: error: 'TCCR1B' was not declared in this scope TCCR1B = 0; ^~~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_utils.h:29:2: note: suggested alternative: 'DD0' DDRB |= B00100000; ^~~~ DD0 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:65:38: note: suggested alternative: 'TWI0' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_utils.h: In function 'void setPin13High()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_utils.h:42:8: error: no match for 'operator|=' (operand types are 'PORT_t {aka PORT_struct}' and 'int') PORTB |= B00100000; /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_utils.h: In function 'void setPin13Low()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_utils.h:55:8: error: no match for 'operator&=' (operand types are 'PORT_t {aka PORT_struct}' and 'int') PORTB &= B11011111; /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:51:3: note: suggested alternative: 'ADC_t' ADCSRA &= ~(1 << ADPS2); ^~~~~~ ADC_t /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp: In function 'uint8_t twi_readFromBlocking(uint8_t, uint8_t*, uint8_t)': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:3: error: 'TWCR' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:51:20: error: 'ADPS2' was not declared in this scope ADCSRA &= ~(1 << ADPS2); ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:3: note: suggested alternative: 'TWI0' TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^~~~ TWI0 In file included from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/io.h:99:0, from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/pgmspace.h:90, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/String.h:30, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Print.h:24, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Stream.h:25, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Client.h:22, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/ArduinoAPI.h:29, from /Users/tatsuro.homma/Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:130:3: note: suggested alternative: 'TCB1' TCCR1B = 0; ^~~~~~ TCB1 /Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/Arduino.h:23, from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/hardware_defines.h:5, from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:8: /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:14: error: 'TWEN' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:131:3: error: 'TCNT1' was not declared in this scope TCNT1 = 0; // TODO: does this cause an undesired interrupt? ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:52:19: error: 'ADPS1' was not declared in this scope ADCSRA |= (1 << ADPS1); ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:14: note: suggested alternative: 'TWI0' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:26: error: 'TWIE' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:52:19: note: suggested alternative: 'ADC1' ADCSRA |= (1 << ADPS1); ^~~~~ ADC1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:53:20: error: 'ADPS0' was not declared in this scope ADCSRA &= ~(1 << ADPS0); ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:131:3: note: suggested alternative: 'TCB1' TCNT1 = 0; // TODO: does this cause an undesired interrupt? ^~~~~ TCB1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h: In member function 'void TimerOne::stop()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:136:3: error: 'TCCR1B' was not declared in this scope TCCR1B = TCCR1B_PWM_MODE_BITS; ^~~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:26: note: suggested alternative: 'TWI0' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:38: error: 'TWEA' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:53:20: note: suggested alternative: 'ADC0' ADCSRA &= ~(1 << ADPS0); ^~~~~ ADC0 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp: In function 'void setupMozziADC(int8_t)': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:80:2: error: 'ADCSRA' was not declared in this scope ADCSRA |= (1 << ADIE); // adc Enable Interrupt ^~~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:38: note: suggested alternative: 'TWI0' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:50: error: 'TWINT' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:136:3: note: suggested alternative: 'TCB1' TCCR1B = TCCR1B_PWM_MODE_BITS; ^~~~~~ TCB1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h: In member function 'void TimerOne::restart()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:140:3: error: 'TCCR1B' was not declared in this scope TCCR1B = 0; ^~~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:50: note: suggested alternative: 'TWI_t' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:163:63: error: 'TWSTA' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp: In function 'void twi_continueReadFrom()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:234:3: error: 'TWCR' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:140:3: note: suggested alternative: 'TCB1' TCCR1B = 0; ^~~~~~ TCB1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:141:3: error: 'TCNT1' was not declared in this scope TCNT1 = 0; ^~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:80:2: note: suggested alternative: 'ADC_t' ADCSRA |= (1 << ADIE); // adc Enable Interrupt ^~~~~~ ADC_t /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:80:18: error: 'ADIE' was not declared in this scope ADCSRA |= (1 << ADIE); // adc Enable Interrupt ^~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:234:3: note: suggested alternative: 'TWI0' TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^~~~ TWI0 In file included from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/io.h:99:0, from /Users/tatsuro.homma/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/avr/include/avr/pgmspace.h:90, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/String.h:30, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Print.h:24, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Stream.h:25, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/Client.h:22, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/api/ArduinoAPI.h:29, from /Users/tatsuro.homma/Library/Arduino15/packages/megaTinyCore/hardware/megaavr/1.1.8/cores/arduino/Arduino.h:23, from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/hardware_defines.h:5, from /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:8: /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:234:14: error: 'TWEN' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:234:14: note: suggested alternative: 'TWI0' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:234:26: error: 'TWIE' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:141:3: note: suggested alternative: 'TCB1' TCNT1 = 0; ^~~~~ TCB1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h: In member function 'void TimerOne::resume()': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:146:3: error: 'TCCR1B' was not declared in this scope TCCR1B = TCCR1B_PWM_MODE_BITS | clockSelectBits; ^~~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:146:3: note: suggested alternative: 'TCB1' TCCR1B = TCCR1B_PWM_MODE_BITS | clockSelectBits; ^~~~~~ TCB1 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h: In member function 'void TimerOne::setPwmDuty(char, unsigned int)': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/utility/TimerOne.h:157:14: error: 'TIMER1_A_PIN' was not declared in this scope if (pin == TIMER1_A_PIN) ^~~~~~~~~~~~ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:234:26: note: suggested alternative: 'TWI0' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:234:38: error: 'TWEA' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:234:38: note: suggested alternative: 'TWI0' /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/twi_nonblock.cpp:234:50: error: 'TWINT' was not declared in this scope TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTA); ^ /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:80:18: note: suggested alternative: 'ADC0' ADCSRA |= (1 << ADIE); // adc Enable Interrupt ^~~~ ADC0 /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp: In function 'void disconnectDigitalIn(uint8_t)': /Users/tatsuro.homma/Documents/Arduino/libraries/Mozzi/mozzi_analog.cpp:91:2: error: 'DIDR0' was not declared in this scope DIDR0 |= 1<