I am working on a project where I need to run 4 DC motors and 4 servos with bluetooth control. I'm using the adafruit motor shield v2.3 and the 16 channel servo shield with an hc-06 bt module. I understand the basics of each shield and basic programming for each and have had them working separately on previous projects. Could someone help me understand how stacking the shields works? Could you provide a bit of sample code to communicate with each?
Please provide links to the shields
This is probably one of them: Adafruit 16-Channel 12-bit PWM/Servo Shield - I2C interface
What is the other one? Adafruit Motor/Stepper/Servo Shield for Arduino v2 Kit - v2.3?
Please describe possible problems that you have or foresee.
It is very unlikely that you will be able to stack motor shields. Typically, you do not have control over which pins a motor shield uses. Stacking two such shields will have each trying to use the same pins.