Marvas / Mbed 2 deprecated step_servo_potile_motor

Dependencies:   mbed servo_motor mbed-rtos

Revision:
0:75bd93370a68
Child:
1:f43b9b2d82be
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed Dec 18 11:13:06 2019 +0000
@@ -0,0 +1,17 @@
+#include "mbed.h"
+PortOut step_motor(PortB,0xC006);
+int main()
+{
+    while(1)
+    {
+step_motor=0x0002;//PB_1 hex
+wait_ms(3);
+step_motor=0x0004;//PB_2 hex
+wait_ms(3);
+step_motor=0x4000;//PB_14 hex
+wait_ms(3);
+step_motor=0x8000;//PB_15 hex
+wait_ms(3);
+    }
+    return 0;
+    }
\ No newline at end of file