Posible ? use arduino mega pwm-pins for digital output/input instead ?

hi,

as i plan to use a pwm-multiservo-modul over i2c - what i hope will run - ,
pwm-pins of a A.mega R3 are not longer needed for managing servos.

can the pwm-pins be used for digital or analog input/output instead ?

there are some additionally pins urgently needed for reading capacitive sensors or switching
some led's..

the project is a model-railway Track diagram control panel

Yes they can.
Just use them as normal pins.

The analogue input pins can be also used as normal digital I/O pins as well.

You do not need PWM capable for driving servos anyway. The Servo library sees to that.

1 Like

htnank you !

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.