AresENSEA-CDF2020 / Mbed 2 deprecated DRV8825

Dependencies:   mbed FastPWM

Dependents:   AresCDFMainCode_capteur_US AresCDFMainCode_us2 AresCDFMainCode

Files at this revision

API Documentation at this revision

Comitter:
g0dd4
Date:
Tue Jul 14 09:31:25 2020 +0000
Parent:
8:f461cf45d0b1
Commit message:
mise a jour V1.1 ;

Changed in this revision

main.cpp Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Jul 14 09:30:48 2020 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-    #include "mbed.h"
-#include "DRV8825.h"
- 
- 
-#define pinEN PC_8
-#define pinDIR PC_5
-#define pinSTEP PC_6
- 
-int main() {
- 
-    DRV8825 drv8825(pinEN,pinDIR,pinSTEP); 
-    drv8825.setEnable(START);
-    drv8825.setDir(STOP);  
-    while(1){
-        drv8825.moveLinSpeed(1);  
-    }
-}