|
Stepdance Software Library
|
This guide walks you through installing the development environment, adding the Stepdance library, and confirming communication with your Stepdance hardware module.
Build or acquire a Stepdance module (Driver Module or Basic Module). See Hardware Documentation for physical specifications and pinouts.
Stepdance runs on the Teensy 4.1 and 4.0 microcontrollers. Install the Arduino IDE plus Teensy board support (Teensy Board Manager / Teensyduino) following the PJRC tutorial: https://www.pjrc.com/teensy/tutorial.html
Add the Stepdance library to your Arduino IDE or PlatformIO environment. (Currently distributed as a .zip.)
Optional: if attempting to extend or modify Stepdance library files, it's possible to create a symbolic link between the repository code and the Arduino library folder using the following command:
Plug the Stepdance module into your computer via a USB cable connected to the Teensy. Select the Teensy 4.1 (or 4.0) board and correct port from the Arduino IDE toolbar dropdown.
Set USB Type: Tools > USB Type > Dual Serial. If you skip this, you will see the compile-time error:
Open one of the Stepdance examples: File > Examples > Stepdance. At the top of the sketch ensure the correct module macro is defined:
Upload using the arrow icon.
Open the Serial Monitor (magnifying glass icon). If you do not see output from Serial.println(), switch ports under Tools > Port. On macOS you may see devices like /dev/cu.usbmodem...; on Windows, use the appropriate COM port.
Return to the main documentation: Getting Started | Hardware | SSL