MakeBlock Drive Updated Updated library for MakeBlock Ranger

Loading...
Searching...
No Matches
Classes | Macros | Variables
MeMegaPiProESCMotor.h File Reference

Header for MeMegaPiProESCMotor.cpp module. More...

`#include <stdint.h>`
`#include <stdbool.h>`
`#include <Arduino.h>`
`#include "MeConfig.h"`
`#include "MePort.h"`
Include dependency graph for MeMegaPiProESCMotor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
struct | megapipro_esc_type
class | MeMegaPiProESCMotor
| Driver for Me Megapipro ESC motor device. More...

## Macros
#define | THROTTLE_OFFSET 137
#define | THROTTLE_MIN 137
#define | THROTTLE_MAX 237

## Variables
megapipro_esc_type | megapi_esc_Port [5]

## Detailed Description

Header for MeMegaPiProESCMotor.cpp module.

Author
  MakeBlock

Version
  V1.0.1

Date
  2017/05/12

Copyright
  This software is Copyright (C), 2012-2017, MakeBlock. Use is subject to license
  conditions. The main licensing options available are GPL V2 or Commercial:

Open Source Licensing GPL V2
  This is the appropriate option if you want to share the source code of your
  application with everyone you distribute it to, and you also want to give them
  the right to share who uses it. If you wish to use this software under Open
  Source Licensing, you must contribute all your source code to the open source
  community in accordance with the GPL Version 2 when your application is
  distributed. See http://www.gnu.org/copyleft/gpl.html

Description
  This file is a drive for Me Megapi Pro ESC motor device.

Method List:

1. void MeMegaPiProESCMotor::setpin(uint8_t pwm_pin)
2. void MeMegaPiProESCMotor::run(int16_t speed)
3. void MeMegaPiProESCMotor::stop(void)
4. void MeMegaPiProESCMotor::reset(uint8_t port)

History:

      `<Author>`         `<Time>`        `<Version>`        `<Descr>`
      Lan weiting         2017/05/09       1.0.0            Rebuild the new.
      Zzipeng             2017/05/12       1.0.1            add some details.