Member Since: September 13, 2014

Country: United States

  • You should be able to use the millis() function to approximate a delay without fully blocking execution. Just set up different timers/intervals for each of your motors and check the current time at each loop.

  • If you just want to know the TRS pins, it's like this:

    • 1 = Shield
    • 2 = Ring
    • 5 = Tip

    Pins 3 and 4 are connected to 2 and 5, respectively, but only when no plug is inserted. I think this is called Normally Closed (NC).

    • 2 connects to 3, but only when no plug inserted
    • 4 connects to 5, but only when no plug inserted