explaination on AFMotor.h and AFMotor.cpp

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
yongda
 
Posts: 1
Joined: Fri Nov 09, 2012 1:10 am

explaination on AFMotor.h and AFMotor.cpp

Post by yongda »

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.

User avatar
adafruit_support_mike
 
Posts: 67446
Joined: Thu Feb 11, 2010 2:51 pm

Re: explaination on AFMotor.h and AFMotor.cpp

Post by adafruit_support_mike »

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."

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”