您好
马上要接触DRV8834,现在在熟悉驱动阶段,但是目前只有如下的代码,没有一套完整的从GPIO init开始 的代码,我也没在TI 的网站上看到有下载链接
请问哪里能下到
/*
* DRV8834 - LV Stepper Motor Driver Driver (A4988-compatible - mostly)
* Indexer mode only.
* Copyright (C)2015 Laurentiu Badea
*
* This file may be redistributed under the terms of the MIT license.
* A copy of this license has been included with this distribution in the file LICENSE.
*/
#include "DRV8834.h"
/*
* Basic connection: only DIR, STEP are connected.
* Microstepping controls should be hardwired.
*/
DRV8834::DRV8834(short steps, short dir_pin, short step_pin)
:BasicStepperDriver(steps, dir_pin, step_pin)
{}
DRV8834::DRV8834(short steps, short dir_pin, short step_pin, short enable_pin)
:BasicStepperDriver(steps, dir_pin, step_pin, enable_pin)
{}