explaination on AFMotor.h and AFMotor.cpp
Moderators: adafruit_support_bill, adafruit

explaination on AFMotor.h and AFMotor.cpp

by yongda on Fri Nov 09, 2012 1:13 am

anyone can explain to me how the AFMotor.h and .cpp library codes works?
i need to understand how the coding inside means and works.
Posts: 1
Joined: Fri Nov 09, 2012 1:10 am

Re: explaination on AFMotor.h and AFMotor.cpp

by adafruit_support_mike on Sat Nov 10, 2012 7:52 pm

This will sound rude, but most code/hardware hackers will translate that kind of request to, "someone else do my thinking for me."

More generally we can't give you meaningful answers because we don't know anything about you, your project, or your reasons for needing to understand the code. Should we assume you understand C and the Arduino environment, or would we need to teach you the language before we can explain the code itself?

Try again, but start by telling us what you're doing, how much you already know, why you need to understand the code instead of just using the interface, what you've managed to figure out on your own, and what -- specifically -- has stumped you.

Without that kind of detail, the best we can say (and about all we will say) is, "go read the code."
When you void a product warranty, you give up your right to sue the manufacturer if something goes wrong and accept full responsibility for whatever happens next. And then you truly own the product.

Posts: 15904
Joined: Thu Feb 11, 2010 2:51 pm