H-bridge driver firmware for my master thesis.