-
Hello all, Not sure where to ask this question, since I am not sure if it is bad / old / deprecated code in the library. What I am trying to do is to use the ATtiny_PWM library on the 1614 . When compiling any example I get the error I searched all over the place, but cannot find anything referring to this error. Maybe I am just very bad at searching! ;-) Since the author of the library has archived all his repositories, I have no good way to contact him. So I am hoping that someone here can help out.. The whole reason why I was looking at that library is because I need to generate a frequency in the range of 500-800kHz on a pin. Maybe there is another way to accomplish this. I do not need PWM, just a frequency control with a duty cycle of 50%. Thanks for your time! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Is it this library? I quickly tried I am using a portable version of V1.8.19 of the Arduino IDE and the examples compile fine for the 1614. |
Beta Was this translation helpful? Give feedback.
-
I decided to abandon the usage of the ATtiny_PWM library and just use some of the code out of the example. Thanks for your time..! |
Beta Was this translation helpful? Give feedback.
And you may want to have a look at the TCA0Demo sketches that are in the examples section of Megatinycore. Especially TCA0Demo2.ino
And the associated readme