View Single Post
Old 25 March 2016, 21:24   #15
phx
Natteravn

phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 1,220
It would be strange when your code switches a drive's motor on, but it may happen that you cannot switch it off, because the state of the DSKSEL0..3 bits (bits 3..6) is unknown before you clear them.

The motor bit (7) is only processed by a drive on a falling edge of its DSKSELx bit.
phx is offline  
 
Page generated in 0.04120 seconds with 11 queries