DCC++ Setup question

Allen Lee Mar 15, 2020

  1. Allen Lee

    Allen Lee New Member

    2
    0
    1
    Hello All,

    I have an Arduino Mega with an Arduino Motor Shield running DCC++, Can you add 3 pca9685 to control 42 servos?

    I seen the Mega run the trains and I've seen the Mega run the servos, but I haven't seen them together.
    If you can do this, is it just a matter of added the code to the DCC++ code?

    Thank you
    Allen
     
  2. FlightRisk

    FlightRisk TrainBoard Member

    548
    237
    14
    You would have to add the code. The current software uses all those pins on the mega. The pca9685 uses I2c. Wouldn't be too hard. The version we are working on now has I2C for an optional display, but the library is specific to the display
     

Share This Page