OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AdafruitMS1438
(Results
1 - 8
of
8
) sorted by null
/hardware/bsp/intel/peripheral/libupm/examples/c++/
adafruitms1438-stepper.cxx
28
#include "
adafruitms1438
.h"
38
upm::
AdafruitMS1438
*ms =
39
new upm::
AdafruitMS1438
(ADAFRUITMS1438_I2C_BUS,
47
ms->disableStepper(
AdafruitMS1438
::STEPMOTOR_M12);
50
ms->stepConfig(
AdafruitMS1438
::STEPMOTOR_M12, 200);
53
ms->setStepperSpeed(
AdafruitMS1438
::STEPMOTOR_M12, 10);
54
ms->setStepperDirection(
AdafruitMS1438
::STEPMOTOR_M12,
55
AdafruitMS1438
::DIR_CW);
59
ms->enableStepper(
AdafruitMS1438
::STEPMOTOR_M12);
62
ms->stepperSteps(
AdafruitMS1438
::STEPMOTOR_M12, 200)
[
all
...]
adafruitms1438.cxx
28
#include "
adafruitms1438
.h"
38
upm::
AdafruitMS1438
*ms =
39
new upm::
AdafruitMS1438
(ADAFRUITMS1438_I2C_BUS,
48
ms->disableMotor(
AdafruitMS1438
::MOTOR_M3);
51
ms->setMotorSpeed(
AdafruitMS1438
::MOTOR_M3, 50);
52
ms->setMotorDirection(
AdafruitMS1438
::MOTOR_M3,
AdafruitMS1438
::DIR_CW);
57
ms->enableMotor(
AdafruitMS1438
::MOTOR_M3);
62
ms->setMotorDirection(
AdafruitMS1438
::MOTOR_M3,
AdafruitMS1438
::DIR_CCW)
[
all
...]
/hardware/bsp/intel/peripheral/libupm/examples/python/
adafruitms1438-stepper.py
32
M12Motor = upmAdafruitms1438.
AdafruitMS1438
.STEPMOTOR_M12
33
MotorDirCW = upmAdafruitms1438.
AdafruitMS1438
.DIR_CW
34
MotorDirCCW = upmAdafruitms1438.
AdafruitMS1438
.DIR_CCW
38
myMotorShield = upmAdafruitms1438.
AdafruitMS1438
(I2CBus, I2CAddr)
adafruitms1438.py
32
M3Motor = upmAdafruitms1438.
AdafruitMS1438
.MOTOR_M3
33
MotorDirCW = upmAdafruitms1438.
AdafruitMS1438
.DIR_CW
34
MotorDirCCW = upmAdafruitms1438.
AdafruitMS1438
.DIR_CCW
38
myMotorShield = upmAdafruitms1438.
AdafruitMS1438
(I2CBus, I2CAddr)
/hardware/bsp/intel/peripheral/libupm/src/adafruitms1438/
adafruitms1438.cxx
30
#include "
adafruitms1438
.h"
36
AdafruitMS1438
::
AdafruitMS1438
(int bus, uint8_t address) :
59
AdafruitMS1438
::~
AdafruitMS1438
()
64
void
AdafruitMS1438
::initClock(STEPMOTORS_T motor)
69
uint32_t
AdafruitMS1438
::getMillis(STEPMOTORS_T motor)
100
void
AdafruitMS1438
::setupPinMaps()
115
void
AdafruitMS1438
::setPWMPeriod(float hz)
123
void
AdafruitMS1438
::enableMotor(DCMOTORS_T motor
[
all
...]
adafruitms1438.h
42
* @defgroup
adafruitms1438
libupm-
adafruitms1438
47
* @library
adafruitms1438
48
* @sensor
adafruitms1438
55
* @brief API for the
AdafruitMS1438
Motor Shield
63
* @image html
adafruitms1438
.jpg
65
* @snippet
adafruitms1438
.cxx Interesting
67
* @snippet
adafruitms1438
-stepper.cxx Interesting
69
class
AdafruitMS1438
{
100
*
AdafruitMS1438
constructo
[
all
...]
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
adafruitms1438-stepper.js
46
var M12motor = MotorShield_lib.
AdafruitMS1438
.STEPMOTOR_M12;
47
var MotorDirCW = MotorShield_lib.
AdafruitMS1438
.DIR_CW;
48
var MotorDirCCW = MotorShield_lib.
AdafruitMS1438
.DIR_CCW;
52
var myMotorShield_obj = new MotorShield_lib.
AdafruitMS1438
(I2CBus, I2CAddr);
adafruitms1438.js
47
var M3motor = MotorShield_lib.
AdafruitMS1438
.MOTOR_M3;
48
var MotorDirCW = MotorShield_lib.
AdafruitMS1438
.DIR_CW;
49
var MotorDirCCW = MotorShield_lib.
AdafruitMS1438
.DIR_CCW;
53
var myMotorShield_obj = new MotorShield_lib.
AdafruitMS1438
(I2CBus, I2CAddr);
Completed in 3692 milliseconds