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.
L298HBridge.cpp
- Committer:
- Armand
- Date:
- 2017-02-14
- Revision:
- 0:85a98c7707c9
- Child:
- 1:0af00b1a2b52
File content as of revision 0:85a98c7707c9:
#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) {
}