Go Down

Topic: DUE PWM Frequency (Read 50604 times) previous topic - next topic

Crystal_Radio

Hi all,
I'm trying to low the pwm freqeuncy of an arduino due using timer registers. I used an instruction like this

TCCR0B = TCCR0B & 0b11111000 | 0x1024

I would low the frequency using a prescaler equal to 1024. Arduino IDE tells me that "TCCR0B was not declared". How can I solve this problem?
Please help me
Thank you all.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy