[riot-notifications] [RIOT-OS/RIOT] drivers/motor_driver: driver for analogic H-bridge driving DC motors (#10290)

Gilles DOFFE notifications at github.com
Thu Feb 14 13:52:53 CET 2019


gdoffe commented on this pull request.



> +        motors_control(dir * pwm_res / 5);
+        xtimer_periodic_wakeup(&last_wakeup, INTERVAL);
+
+        /* Reverse direction */
+        dir = dir * -1;
+    }
+
+    return NULL;
+}
+#endif /* MOTOR_DRIVER_NUMOF */
+
+int main(void)
+{
+    xtimer_init();
+
+#ifdef MOTOR_DRIVER_NUMOF

done

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10290#discussion_r256819523
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190214/2505a780/attachment.html>


More information about the notifications mailing list