Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Arduino experts, please answer this question I have in mind.

Status
Not open for further replies.

eebhoi01

Advanced Member level 4
Full Member level 1
Joined
Feb 22, 2012
Messages
116
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Activity points
2,347
Hello Everyone,

I am currently working on a project controlling a servo motor. As what i've understood Pin 5 and 6 is controlled by Timer 0, Pin 9 and 10 is controlled by Timer 1 and Pin 11 and 3 is controlled by Timer 2.

I understand that if I will change the default settings of timers it will alter the default time value of the board specially in delay applications.

My question is that, If I will configure Timer 0 to attain 50Hz output @ Pin 5 and 6 will Pins 9, 10, 11 and 3 get affected? Will they be still on default values?

I am needing delay application on my project as well as producing 50Hz PWM output, I am pretty much confused in this particular issue. Please help me thanks.


Best Regards,
 

I'm assuming that your using arduino uno. You have got the pin markings correct.
If you configure Timer 0 then Pin 9,10,11 and 3 wont get affected. Other timers will be in a default state.
NOTE: For some basic functions Timer 0 is configured. Do not alter it at any cost. If you alter Timer 0 then basic functions will get affected. So programming would get complex.
What you can do is you can configure timer 1 or timer 2.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top