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:
Problem with timer operation in ATTINY84
-
- Posts: 2
- http://meble-kuchenne.info.pl
- Joined: Sat Jan 09, 2021 8:28 am
- Contact:
Problem with timer operation in ATTINY84
- Attachments
-
- xx_07_01_21.fcfx
- (13.35 KiB) Downloaded 318 times
Re: Problem with timer operation in ATTINY84
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
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
-
- 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
Excellent well done and thanks for letting us know. I'll get that sorted at this end for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel