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'".
Attiny25/45/85 Interrupt on Timer1
-
- Posts: 9
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 16, 2020 9:32 am
- Been thanked: 3 times
-
- Matrix Staff
- Posts: 1924
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 501 times
- Been thanked: 684 times
Re: Attiny25/45/85 Interrupt on Timer1
Hello,
Many thanks for letting us know. I have replicated the problem and have now posted an update that will solve the problem.
Many thanks for letting us know. I have replicated the problem and have now posted an update that will solve the problem.
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