Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years, 4 months ago.
CAN programming
Please send us the code for the application where we take the voltage reading of potentiometer from 0-5V which is read as ADC value to embed board , based on this we need to run the stepper motor at different angles. The program has to be using CAN , ie: taking the reading of ADC to CAN node1 and monitor stepper motor with CAN node2.
2 Answers
10 years, 4 months ago.
Hi veena, I don't know if you'll find anyone on this site that will write your application for you, but you'll find many that are willing to help you find the discover the solution. One thing - if you create code to communicate with one CAN channel on an mbed, it is easy to create another instance (or copy) of it for the other channel. So long as these two instances don't share any data structures, you can just as easily run the same code on another mbed.
Here are some resources you should explore, try what you see, and then hopefully you can derive the answer you are looking for:
And the search engine on this site will also help you find a number of resources related to your query.