This file contains hidden or 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
| #define DCSBIOS_IRQ_SERIAL | |
| #include <AccelStepper.h> | |
| #include "DcsBios.h" | |
| struct StepperConfig { | |
| unsigned int maxSteps; | |
| unsigned int acceleration; | |
| unsigned int maxSpeed; | |
| }; |
This file contains hidden or 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 <SPI.h> | |
| #include <Wire.h> | |
| #include <Adafruit_GFX.h> | |
| #include <Adafruit_SSD1306.h> | |
| #define DCSBIOS_IRQ_SERIAL | |
| #include <DcsBios.h> | |
| #include <Servo.h> |
This file contains hidden or 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
| #!/usr/bin/python | |
| # set nonstandard baudrate. | |
| # based on http://unix.stackexchange.com/a/327366/119298 | |
| # this version takes the device file and baudrate as arguments | |
| # and prints an error message if the device file could not be opened. | |
| import sys,os,array,fcntl,argparse | |
| parser = argparse.ArgumentParser() |
OlderNewer