mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.1.3 DRV8825
This commit is contained in:
parent
5b2d1af728
commit
49d8d69ab4
@ -1,3 +1,18 @@
|
||||
platforms:
|
||||
rpipico:
|
||||
board: rp2040:rp2040:rpipico
|
||||
package: rp2040:rp2040
|
||||
gcc:
|
||||
features:
|
||||
defines:
|
||||
- ARDUINO_ARCH_RP2040
|
||||
warnings:
|
||||
flags:
|
||||
|
||||
packages:
|
||||
rp2040:rp2040:
|
||||
url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
|
||||
|
||||
compile:
|
||||
# Choosing to run compilation tests on 2 different Arduino platforms
|
||||
platforms:
|
||||
@ -7,5 +22,7 @@ compile:
|
||||
# - leonardo
|
||||
- m4
|
||||
- esp32
|
||||
- esp8266
|
||||
# - esp8266
|
||||
# - mega2560
|
||||
- rpipico
|
||||
|
||||
|
26
libraries/DRV8825/CHANGELOG.md
Normal file
26
libraries/DRV8825/CHANGELOG.md
Normal file
@ -0,0 +1,26 @@
|
||||
# Change Log DRV8825
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
## [0.1.3] - 2022-11-02
|
||||
- add changelog.md
|
||||
- add rp2040 to build-CI
|
||||
- fix version number
|
||||
|
||||
|
||||
## [0.1.2] - 2022-07-14
|
||||
- add support for SLP RST and EN pin
|
||||
- update documentation
|
||||
- update build-CI
|
||||
|
||||
## [0.1.1] - 2022-07-08 update readme.md
|
||||
- add setPosition() + getPosition();
|
||||
- minor optimizations
|
||||
|
||||
## [0.1.0] - 2022-07-07
|
||||
- initial version
|
||||
|
@ -1,18 +1,13 @@
|
||||
//
|
||||
// FILE: DRV8825.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.1.2
|
||||
// VERSION: 0.1.3
|
||||
// PURPOSE: Arduino library for DRV8825 stepper motor driver
|
||||
// DATE: 2022-07-07
|
||||
// URL: https://github.com/RobTillaart/DRV8825
|
||||
//
|
||||
// HISTORY: see changelog.md
|
||||
|
||||
// 0.1.0 2022-07-07 initial version.
|
||||
// 0.1.1 2022-07-08 update readme.md
|
||||
// add setPosition() + getPosition();
|
||||
// minor optimizations
|
||||
// 0.1.2 2022-07-14 add support for SLP RST and EN pin
|
||||
// update documentation
|
||||
// update build-CI
|
||||
|
||||
|
||||
#include "DRV8825.h"
|
||||
@ -215,4 +210,3 @@ bool DRV8825::isSleeping()
|
||||
|
||||
// -- END OF FILE --
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// FILE: DRV8825.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.1.2
|
||||
// VERSION: 0.1.3
|
||||
// PURPOSE: Arduino library for DRV8825 stepper motor driver
|
||||
// DATE: 2022-07-07
|
||||
// URL: https://github.com/RobTillaart/DRV8825
|
||||
@ -11,7 +11,7 @@
|
||||
#include "Arduino.h"
|
||||
|
||||
|
||||
#define DRV8825_LIB_VERSION (F("0.1.1"))
|
||||
#define DRV8825_LIB_VERSION (F("0.1.3"))
|
||||
|
||||
|
||||
// setDirection
|
||||
|
@ -44,7 +44,8 @@ const uint8_t DRV8825_COUNTERCLOCK_WISE = 1; // HIGH
|
||||
### Constructor
|
||||
|
||||
- **DRV8825()** Constructor.
|
||||
- **bool begin(uint8_t DIR, uint8_t STEP, uint8_t EN = 255, uint8_t RST = 255, uint8_t SLP = 255)** set the direction pin and step pin.
|
||||
- **bool begin(uint8_t DIR, uint8_t STEP, uint8_t EN = 255, uint8_t RST = 255, uint8_t SLP = 255)**
|
||||
set the direction pin and step pin.
|
||||
Both pins are set to LOW. For direction this means DRV8825_CLOCK_WISE.
|
||||
Optional the enable, reset and sleep pin can be set.
|
||||
If these are set to 255 the related functions won't do anything.
|
||||
|
@ -15,7 +15,7 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/DRV8825.git"
|
||||
},
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.3",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"platforms": "*",
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=DRV8825
|
||||
version=0.1.2
|
||||
version=0.1.3
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino library for DRV8825 stepper motor driver.
|
||||
|
Loading…
Reference in New Issue
Block a user