explaination on AFMotor.h and AFMotor.cpp

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

Moderators: adafruit_support_bill, adafruit

explaination on AFMotor.h and AFMotor.cpp

Postby yongda » Fri Nov 09, 2012 12: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.
yongda
 
Posts: 1
Joined: Fri Nov 09, 2012 12:10 am

Re: explaination on AFMotor.h and AFMotor.cpp

Postby adafruit_support_mike » Sat Nov 10, 2012 6: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 warrany, 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.
User avatar
adafruit_support_mike
 
Posts: 1322
Joined: Thu Feb 11, 2010 1:51 pm


Return to Arduino Shields from Adafruit

Who is online

Users browsing this forum: pat__reis and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [105]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]