シーケンサ内蔵のステッピングモータドライバを制御します。

Files at this revision

API Documentation at this revision

Comitter:
Akito914
Date:
Thu Jan 10 12:55:31 2019 +0000
Parent:
0:f270cfef9a60
Commit message:
Sleep and Fault pins can be omitted.

Changed in this revision

STM_seq.h Show annotated file Show diff for this revision Revisions of this file
--- a/STM_seq.h	Thu Jan 10 08:01:00 2019 +0000
+++ b/STM_seq.h	Thu Jan 10 12:55:31 2019 +0000
@@ -9,7 +9,7 @@
     
 public:
     
-    stepMotor(PinName pinName_CLK , PinName pinName_DIR , PinName pinName_Sleep , PinName pinName_Fault);
+    stepMotor(PinName pinName_CLK , PinName pinName_DIR , PinName pinName_Sleep = NC , PinName pinName_Fault = NC);
     
     ~stepMotor();