Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
need help in organizing a function
I have a question about embedded C programming. I need to program drivers for a robot . I use the microprocessor freescale mc9s12c32.
the controller for the motor is the SN754410.
Here is the problem:
( I gave the whole problem so that you have an idea. the issue is the function in bold)
Motor I/O Driver. Write a motor driver module to drive the left and right motors. The module should provide at least the following operations (you may customize/combine/add to these as you see fit):
0 · ·