Attiny25/45/85 Interrupt on Timer1

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
OlegKRS
Posts: 9
http://meble-kuchenne.info.pl
Joined: Wed Dec 16, 2020 9:32 am
Been thanked: 3 times

Attiny25/45/85 Interrupt on Timer1

Post by OlegKRS »

Flowcode v9. Chip Attiny25/45/85 Interrupt on Timer1.
The compiler throws the following error "error: 'TCCR1B' undeclared (first use in this function)" and "error: 'TIMSK 1' undeclared (first use in this function)" if the program uses Interrupt on Timer1 Attiny25/45/85.
In the FlowCode settings for Attiny25/45/85, the Timer1 type is incorrectly specified. It should be "type= ' timer 8' " instead of "type='timer 16'".

BenR
Matrix Staff
Posts: 1756
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 446 times
Been thanked: 606 times

Re: Attiny25/45/85 Interrupt on Timer1

Post by BenR »

Hello,

Many thanks for letting us know. I have replicated the problem and have now posted an update that will solve the problem.

OlegKRS
Posts: 9
Joined: Wed Dec 16, 2020 9:32 am
Been thanked: 3 times

Re: Attiny25/45/85 Interrupt on Timer1

Post by OlegKRS »

Hi,

Many thanks Ben.

Post Reply