I need help Dr Azzy :D #976
Replies: 1 comment 1 reply
-
Where did my response to this go? That sketch was clearly derived from one of my PWM demo sketches for taking over TCA0, andyou're tripping over this:
But it doesn't look like your sketch actually takes over TCA0 (by calling takeOverTCA0() to make thecore pretend it doesn't exist and give you full control over it), or modifies the configuration of TCA0 unless one of those libraries which you haven't posted does do. If never reconfigure TCA except by calling analogRead() on it, then just delete that block, since it doesn't apply - you are not taking over TCA0 If you are taking oiver TCA0 in one of those libraries, you must either, from the tools menu, disable millis or set it to use a different timer. The available timers on the gimped 0-series parts are just TCA0, TCB0, and the RTC. |
Beta Was this translation helpful? Give feedback.
-
Hello, I am trying to verify a code with arduino for the control of a DC motor with an ATtiny 1606 but i have this message " error "This sketch takes over TCA0, don't use for millis here. Pin mappings on 8-pin parts are different".
I'm new in the field, I transformed my arduino into a UPDI programmer by following the instructions but I think that the problem comes from the code in question (below) Can you help me please?!
The code I want to implement in the attiny1606 :
Beta Was this translation helpful? Give feedback.
All reactions