Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: uStep.h
- Revision:
- 0:e9d5c8f36756
- Child:
- 2:627a47c7f619
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/uStep.h Wed Jan 04 00:00:35 2017 +0000
@@ -0,0 +1,27 @@
+
+#ifndef USTEP_H
+#define USTEP_H
+
+#include "mbed.h"
+
+class uStep
+{
+public:
+
+ uStep(PinName FAZ1, PinName FAZ2, PinName FAZ3, PinName FAZ4); // KONSTRUKTOR MOTORA
+
+ void step(int num_steps, int smjer, int brzina);
+ void ooskz();
+ void skz();
+
+
+private:
+
+ DigitalOut _FAZ1;
+ DigitalOut _FAZ2;
+ DigitalOut _FAZ3;
+ DigitalOut _FAZ4;
+
+};
+
+#endif
\ No newline at end of file