Hello! I have a question!
I've been reading the datasheet for the Arduino DUE microcontroller Atmel SAM3X8E and I'm not sure what P780 is. How can I use compare match to output a voltage when the value of RB is high, like PWM?
Hi @foxetera
Please could explain in more detail what you're trying to achieve with PWM on the Arduino Due, since there's not enough information in your question.
As you mention the RB register, I assume you're working with the SAM3X8E's TC timers?
I'm using the TC timer of the SAM3X8E, and I want to implement PWM control by storing a triangle wave created by the TC timer and a sine wave as a value in the RB register, then compare and match the two, and if the sine wave is larger, output a voltage to move the motor.
Hi @foxetera
Unfortunately, there's not enough information in your response, to understand what you're trying to achieve.
What have you tried to do so far?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.