Bastl Kastle Synth Reprogramming Trouble

Hey guys!
I am pretty new to this but I am having trouble with this one bastl code that they made for exchanging programs for their kastle synth. It keeps saying TCCR1 was not declared in this scope. I am really only trying to verify that it works as I want to make sure it does before trying to reprogram the atmega328 inside the Kastle. If it helps I have an arduino uno that I'm trying to use to do the aforementioned. I'm trying the kastle sampler from this page GitHub - bastl-instruments/kastle: mini modular synth .

From the comments in that sketch:

used to flash ATTINY 85 running at 8mHz

The TCCR1 register name is used by the ATtiny85 but not by the ATmega328, thus the cause of the error. You could likely convert the code to work with ATmega328 without much trouble.

But why wouldn't it verify? What programmer would I need to use to get it to an attiny 85?

wilunki:
But why wouldn't it verify?

The compiler already told you:

kastleSampler\kastleSampler.ino: In function 'void setTimers()':

kastleSampler:207: error: 'TCCR1' was not declared in this scope

   TCCR1 = 0;                  //stop the timer

If you compile for ATmega328 and the ATmega328 doesn't have a register named TCCR1 then TCCR1 will not have been declared, will it?

wilunki:
What programmer would I need to use to get it to an attiny 85?

Any AVR ISP programmer will work. My personal preference is the USBasp 6 pin model, which you can buy for <$3 with free shipping from China on eBay. You can use any regular Arduino board as an "Arduino as ISP" programmer if you don't want to buy a dedicated programmer.

You will need to install support for ATtiny85 in the Arduino IDE. The best hardware package for that is:

If you install ATTinyCore and then try compiling the sketch for ATtiny85 you'll find it will complete without any errors.

Thanks yo!
Just figured it out from what you said... now to read up on coding lol.