Page 1 of 1

FC5, w/ATTIny85, TCCR1A and TCCR1B error

Posted: Wed Aug 13, 2014 2:10 am
by Alberta2012
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 ?

Re: FC5, w/ATTIny85, TCCR1A and TCCR1B error

Posted: Wed Aug 13, 2014 10:44 am
by Benj
Hello,

It looks like the ATtiny85 is missing the key hardware peripherals required to drive the servo component. I will have a look into the component code and see if I can nail down what peripherals are required on AVR.

Re: FC5, w/ATTIny85, TCCR1A and TCCR1B error

Posted: Thu Aug 14, 2014 3:59 am
by Alberta2012
As soon as I select any 8 pins chip (ATTiny 13/13A/25/45/85) I get a similar error message....