Brick for controlling DC Motors