Problem with timer operation in ATTINY84

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
boskz
Posts: 2
http://meble-kuchenne.info.pl
Joined: Sat Jan 09, 2021 8:28 am
Contact:

Problem with timer operation in ATTINY84

Post by boskz »

Hello team,
Problem with timer operation in ATTINY84. After adding a timer interrupt to the program, the microcontroller starts constantly rebooting (compilation proceeds without errors).

Modeling in Flowcode v9 (the same in other versions) is going well. The problem begins to manifest itself after downloading the program to the microcontroller.

I think the problem is in the ATTINY84.fcdx file, but I don't know how to solve it.

An example of a small program:
Attachments
xx_07_01_21.fcfx
(13.35 KiB) Downloaded 318 times

boskz
Posts: 2
Joined: Sat Jan 09, 2021 8:28 am
Contact:

Re: Problem with timer operation in ATTINY84

Post by boskz »

Hello team,

I think I found a solution to the problem,
ATTINY84.fcdx file

Need to replace the name

TIMER0_OVF_vect
TIMER1_OVF_vect

On

TIM0_OVF_vect
TIM1_OVF_vect

BenR
Matrix Staff
Posts: 1952
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 698 times

Re: Problem with timer operation in ATTINY84

Post by BenR »

Excellent well done and thanks for letting us know. I'll get that sorted at this end for you.

Post Reply