Error uploading cyber falls code to nano

Hello all,
im new here. while trying to upload the cyber falls code to nano i keep getting this error below. any help would be greatly appreciated

D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino: In function 'void setup()':
D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino:58:3: error: 'TCCR1' was not declared in this scope
TCCR1 = _BV(PWM1A) |_BV(CS13) | _BV(CS12); // 1:2048 prescale
^~~~~
D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino:58:3: note: suggested alternative: 'TCCR1A'
TCCR1 = _BV(PWM1A) |_BV(CS13) | _BV(CS12); // 1:2048 prescale
^~~~~
TCCR1A
In file included from c:\users\marius\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\io.h:99:0,
from c:\users\marius\appdata\local\arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7\avr\include\avr\pgmspace.h:90,
from C:\Users\Marius\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino/Arduino.h:28,
from C:\Users\Marius\AppData\Local\Temp\arduino\sketches\4C285B565ADF6C56AAD8AF14FEB7CEE8\sketch\NeoPixel_Cyber_Falls_Wig.ino.cpp:1:
D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino:58:16: error: 'PWM1A' was not declared in this scope
TCCR1 = _BV(PWM1A) |_BV(CS13) | _BV(CS12); // 1:2048 prescale
^
D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino:58:28: error: 'CS13' was not declared in this scope
TCCR1 = _BV(PWM1A) |_BV(CS13) | _BV(CS12); // 1:2048 prescale
^
D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino:58:28: note: suggested alternative: 'CS10'
D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino:71:3: error: 'OCR1C' was not declared in this scope
OCR1C = 255; // ~30 Hz
^~~~~
D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino:71:3: note: suggested alternative: 'OCR1A'
OCR1C = 255; // ~30 Hz
^~~~~
OCR1A
D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino:73:3: error: 'TIMSK' was not declared in this scope
TIMSK |= _BV(TOIE1); // Enable overflow interrupt
^~~~~
D:\Downloads\NeoPixel_Cyber_Falls_Wig\NeoPixel_Cyber_Falls_Wig.ino:73:3: note: suggested alternative: 'TIMSK0'
TIMSK |= _BV(TOIE1); // Enable overflow interrupt
^~~~~
TIMSK0

exit status 1

Compilation error: 'TCCR1' was not declared in this scope

@v3rsatyl3 Your other 2 topics on the same subject have been deleted.

Please do not duplicate your questions as doing so wastes the time and effort of the volunteers trying to help you as they are then answering the same thing in different places.

Please create one topic only for your question and choose the forum category carefully. If you have multiple questions about the same project then please ask your questions in the one topic as the answers to one question provide useful context for the others, and also you won’t have to keep explaining your project repeatedly.

Repeated duplicate posting could result in a temporary or permanent ban from the forum.

Could you take a few moments to Learn How To Use The Forum

It will help you get the best out of the forum in the future.

Thank you.

For which board are you compiling?

Please post your complete sketch; just in case, please use code tags when posting your sketch as described in How to get the best out of this forum ; it's the <CODE> button on the forum.

Are you working on this Adafruit project: https://learn.adafruit.com/neopixel-cyber-falls/overview?

If so, note the following

The Adafruit Trinket uses an ATtiny85 processor.

Add to @david_2018 hardware example, Arduino Uno has ATmega328P mcu while Arduino Uno Wifi has ATmega4809 mcu, so different architecture there, with similar name.

You have to be careful with that, the Arduino UNO WiFI has an ATmega328P & ESP8266, while the Arduino UNO WiFi Rev2 has the ATmega4809 & u-blox NINA-W102. Loads of confusion with the similar board names.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.