FC5, w/ATTIny85, TCCR1A and TCCR1B error
Posted: Wed Aug 13, 2014 2:10 am
Hi everyone,
I'm experimenting with a servo and an ATTiny85. When I try to compile, I get the following errors:
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c: In function 'main':
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:747: error: 'TCCR1A' undeclared (first use in this function)
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:747: error: (Each undeclared identifier is reported only once
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:747: error: for each function it appears in.)
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:749: error: 'TCCR1B' undeclared (first use in this function)
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c: In function '__vector_3':
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:892: error: 'TCC1' undeclared (first use in this function)
Before asking my question, I looked at the following post:
http://www.flowcode.co.uk/mmforums/viewt ... r1a#p22403
It did not solve my issues. The FC is very simple: read a pot, position the servo accordingly ....Can hardly be simpler....
I'm using V5. Anyone has an idea ?
I'm experimenting with a servo and an ATTiny85. When I try to compile, I get the following errors:
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c: In function 'main':
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:747: error: 'TCCR1A' undeclared (first use in this function)
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:747: error: (Each undeclared identifier is reported only once
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:747: error: for each function it appears in.)
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:749: error: 'TCCR1B' undeclared (first use in this function)
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c: In function '__vector_3':
G:\Jasmin\PROJET~1\WIP\PAC15C~1\07-FLO~1\test de servo.c:892: error: 'TCC1' undeclared (first use in this function)
Before asking my question, I looked at the following post:
http://www.flowcode.co.uk/mmforums/viewt ... r1a#p22403
It did not solve my issues. The FC is very simple: read a pot, position the servo accordingly ....Can hardly be simpler....
I'm using V5. Anyone has an idea ?