This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "47ae11e2.286f3", | |
"type": "tab", | |
"label": "PythonExec", | |
"disabled": false, | |
"info": "" | |
}, | |
{ | |
"id": "b7f441c7.fc588", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SerialStepper.h> | |
#include <arduinostepper.h> | |
// Define 3 steppers | |
Stepper steppers[3]; | |
// each using an ArduinoStepper control | |
ArduinoStepperControl stepper_ctl[] = { | |
ArduinoStepperControl {34, 36, 38, 40}, // the pins | |
ArduinoStepperControl {35, 37, 39, 41}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
constexpr bool dry_run {false}; | |
constexpr bool do_program {true}; | |
// codes | |
constexpr uint32_t on_code {38909585}; | |
constexpr uint32_t off_code {39916949}; | |
// protocol |