Go Down

Topic: Tone command disables PWM on some pins (Read 1 time) previous topic - next topic

OddBot

Mar 26, 2010, 02:22 am Last Edit: Mar 26, 2010, 03:21 am by OddBot Reason: 1
I am currently using Arduino 0018 and an Arduino Mega. Recently I discovered that some of my PWM outputs were disabled by the tone command.

I realise this is probably because the tone command uses the same timers.

Is there a way of reseting the timers after playing a tune so the PWM pins work again  :-?

notrub

I am having the same issue. If anyone knows of a fix that would be awesome.

OddBot

#2
Apr 14, 2010, 01:27 pm Last Edit: Apr 14, 2010, 01:28 pm by OddBot Reason: 1
After no help here I posted the question on LMR (letsmakerobots.com) and was helped by RobotFreak. Find the answer and see DSO screen shots here: http://letsmakerobots.com/node/18743

Go Up