I am doing a project where I use a touchsreen to control a motor.
My problem is that the touchscreen uses all the PWM outputs of my arduino mega and I need another one to control my motor with the L298N H-bridge.
Is there a way to add another PWM output ? Or to connect two arduino together ?
Thank you !