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: L298HBridge.cpp
- Revision:
- 0:85a98c7707c9
- Child:
- 1:0af00b1a2b52
diff -r 000000000000 -r 85a98c7707c9 L298HBridge.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/L298HBridge.cpp Tue Feb 14 09:48:32 2017 +0000
@@ -0,0 +1,17 @@
+#include "L298HBridge.h"
+#include "mbed.h"
+
+L298HBridge::L298HBridge(PinName ENpin, PinName FWDpin, PinName REVpin) : _en(ENpin), _fwd(FWDpin), _rev(REVpin) {
+ _fwd = 0;
+ _rev = 0;
+ _en = 0.0;
+}
+
+void L298HBridge::Fwd() {
+
+}
+
+void L298HBridge::Speed(float PWMPercentage) {
+
+}
+
\ No newline at end of file