l298n
no_std driver for L298N (Dual H-Bridge Motor Controller module)
Basic usage
Include this library as a dependency in your Cargo.toml:
version = "<version>"
Use embedded-hal implementation to get PINA, PINB and PWM and then create a single motor:
extern crate l298n;
let motor = new;
motor.set_duty;
motor.brake;
or a l298 dual bridge motor:
extern crate l298n;
let motor = L298Nnew;
motor.a.set_duty;
motor.a.brake;
Documentation
API Docs available on docs.rs