Motorshield using only a few pins