10 years, 8 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, 8 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.

10 years, 8 months ago.

Did you have a question or just the demand to write your code?

we have not worked on mbed board much .... but we want to learn, we are running short of time for our project .... so need a help to write a code to build our project soon

posted by veena attimarad 05 Apr 2014