That code looks just wrong.
You set four outputs on PortD while the schematic shows PortC.
Then you seems to missing the actual PWM statement, and if you meant to PWM the Enable pins you have those too on the wrong pins.
I'm surprised if that code even compiles.
/Henrik.




Bookmarks