mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
l298: updated header with tags
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
18c21f0bc7
commit
9ebe68ec0c
@ -33,14 +33,21 @@
|
|||||||
#define L298_DEFAULT_PWM_PERIOD 4
|
#define L298_DEFAULT_PWM_PERIOD 4
|
||||||
|
|
||||||
namespace upm {
|
namespace upm {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief C++ API for the L298 Dual H-Bridge module
|
* @brief UPM library for the L298 Dual H-Bridge Motor Driver
|
||||||
* @defgroup l298 libupm-l298
|
* @defgroup l298 libupm-l298
|
||||||
|
* @ingroup seeed sparkfun gpio pwm motor
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief UPM module for the L298 Dual H-Bridge
|
* @library l298
|
||||||
|
* @sensor l298
|
||||||
|
* @comname L298 Dual H-Bridge Motor Driver
|
||||||
|
* @type motor
|
||||||
|
* @man seeed sparkfun
|
||||||
|
* @con gpio pwm
|
||||||
|
*
|
||||||
|
* @brief C++ API for the L298 Dual H-Bridge module
|
||||||
*
|
*
|
||||||
* It was developed using the RobotBase Dual H-Bridge module.
|
* It was developed using the RobotBase Dual H-Bridge module.
|
||||||
*
|
*
|
||||||
@ -48,14 +55,11 @@ namespace upm {
|
|||||||
* It requires 3 pins per DC motor (or h-bridge), or 4 pins for
|
* It requires 3 pins per DC motor (or h-bridge), or 4 pins for
|
||||||
* the stepper (uses both h-bridges).
|
* the stepper (uses both h-bridges).
|
||||||
*
|
*
|
||||||
* @ingroup l298 pwm gpio
|
|
||||||
* Example driving a DC motor
|
* Example driving a DC motor
|
||||||
* @snippet l298.cxx Interesting
|
* @snippet l298.cxx Interesting
|
||||||
* Example driving a stepper motor
|
* Example driving a stepper motor
|
||||||
* @snippet l298-stepper.cxx Interesting
|
* @snippet l298-stepper.cxx Interesting
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
class L298 {
|
class L298 {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user