I\'m trying to control H-bridge by raspberry and ROS with python. I tried to write a class to control motors by 2 pin in PWM mode and 4 pins as digital output.
That c