controlling motors with Hall Effect sensors